Mols puzzle in Tcl/Tk
If you have the
installed on your browser then you can play the Mols puzzle
here. The puzzle's aim is to construct a pair of
mutually orthogonal latin squares of side n. That is, you have to place
the "cards" on the right onto the left grid in such a way that
no two equal numbers or colors appear on any given line or column. Click on a
card on the right and click where you want it to go to move it to the left.
Clicking on a card on the left returns it to the right. The space
bar resets the game. Pressing a number key from 3,4,5,...,0 followed by the
space bar will reset with that number for n (0 stands for 10).
Notice that 6 is impossible and 10 is very very hard.