The gist of the program is a standard Tic Tac Toe game. It should contain the simplest of AI, the actual AI code may be copy-pasted.
The user shall be able to zoom in and out in the game board, using touchpad or mouse gestures.
The user shall be able to pan the game board horizontally and vertically, by click-and drag the canvas on which the game board is drawn upon. The text of the game name, tic tac toe shall be zoomed in to, but the score in the bottom shall not.
The main window shall contains the following items
1. A text showing the name: “Tic Tac Toe” in the top during the entire lifetime of the window.
2. The game board, comprising of a border and checker plates
3. The score, won and lost by the player and the computer
4. The game pieces when placed on the checker board
The game shall start when the application is loaded and let the player place his first piece anywhere but in the middle. When three pieces in a row is in place by either the player or the AI, there shall be a large text in the main window presenting the outcome in aspect of the players view: WIN or LOOSE.
For complete description and mock-ups, see the included PDF.