Editorial & information designer
As an exercise in learning
Click the squares to uncover them. Hold Shift and click to flag squares you think hide mines. Click again to unflag the squares. Numbers on the board indicate how many mines are concealed under the surrounding squares, and the number to the left under the board shows how many mines are still to be flagged.
The aim of this game is to get four blocks in a row (vertically, horizontally or diagonally) before your opponent. Blocks stack from the bottom of the columns. Click in a column to place a block. Colours alternate with clicks to represent the two players. I may try to create a computer player, but at the moment you’ll have to play against a friend or yourself.