Two players put white and black tokens on a grid board.
After the player (1) puts a token, all the tokens of his opponent (2), which
lay on the lines (horizontal, vertical and diagonal) between the newly put
token, and some already laid tokens of player (1) are reversed
(change their colour to the colour of the player (1))
The game is finished after all the fields on the board are occupied
Technical requirements:
The tokens are put with the mouse
The window is sizeable - the grid and tokens resize to the size of the window,
but the number of rows and columns does not change
After the game is finished, a messagebox appears, and the game is restarted
The program should be free of any unproper programming issues (flickering,
warnings, uncaught exceptions, etc...)
Approximate points:
The game working accordingly to the rules and requirements above: 10