+
+ Parliament of Sikinia Puzzle
+ Graph Theory
+
+
+ Separate parliament members into two houses so each has at most one enemy in their house
+
+
+
+
+
+
+ {showExplanation && (
+
+
+ Goal: Color all 10 parliament members blue or pink such that each member has at most one enemy of their own color in their house.
+ How to play: Click grey icons to make them blue, blue to make them pink, pink to make them grey. Red edges indicate violations (someone has more than one enemy of their color).
+ Mathematical insight: This demonstrates that any graph with maximum degree 3 is 2-colorable in a way that each vertex has at most one neighbor of its color.
+
+
+ )}
+
+
+
+ {!gameStarted ? (
+
+ ) : (
+
+ )}
+
+
+
+
+
+ {formatTime(timer)}
+
+ {bestTime && (
+
+
+ {formatTime(bestTime)}
+
+ )}
+
+
+
+ {isComplete && (
+
+
+ 🎉 Congratulations! You've successfully separated the parliament in {formatTime(timer)}!
+ {timer === bestTime && " New best time!"}
+
+
+ )}
+
+