orthomagnet
The rules are:
- 2 players. One player uses white stones and the other uses black stones.
- You can put a stone only in empty spaces.
- When you put a stone, it pulls stones from the other player that are not touching your stone and are in the same row or column, and converts them to your color.
- The board wraps around in the edges (toroidal board).
- When the board is filled with stones, whoever has more stones wins.
source code: https://github.com/jmmut/orthomagnet