Something or other, whatever!

Christian Lawson-Perfect's homepage

This island is big enough for the both of us

An implementation of the game Imparium, invented by Walter Joris.

Here’s a brief version of the rules: you start with a 6×6 grid of boxes. You and another player take turns removing pairs of adjacent boxes. Whenever there’s a group made up of an odd number less than 10 contiguous boxes, the last player to move can claim them. Once all boxes have been either claimed or removed, the game is over and the person who has claimed the most boxes wins.

Written in Elm.