Computing: Free Pascal Programming

Classic Tic-Tac-Toe game.

Download TicTacToe desktop application (Windows 64bit) Download TicTacToe source code (Lazarus/Free Pascal)

Description: Classic Tic-Tac-Toe ("three in a line") game for one player against the computer. Mark a board field with your symbol (O or X, blue or red, selectable in the "Options" menu). The computer immediately responds by its own move, as soon as you've done. There is actually one single game level, the computer always making the optimal move, what means, that the application never looses. This is however no reason not to play the game. Because, if you play perfectly, too, you, too, will never loose (all games ending in a tie). So, you can see the challenge in ending a game series with your own score equal (or as near as possible) to the computer one's (scoring being done 3 points for a game won, 1 point for a tie).

Free Pascal features: Changing controls' properties during run-time (visible/hidden, enabled/disabled, static text capture and font color). Handling mouse-clicks on static texts and mouse-down-events on shapes. Minimax algorithm to determine the optimal move in board games (classic Pascal).


Free Tic-Tac-Toe game for PC