BASIC 10 liner "Tic-Tac-Toe" for 2 players
TIC TAC TOE (10 LINER) is a TIC-TAC-TOE game for two players, written in ugBASIC and that runs on various 8-bit home computers. This game is a paper-and-pencil game for two players who take turns marking the spaces in a three-by-three grid with X or O. The player who succeeds in placing three of their marks in a horizontal, vertical, or diagonal row is the winner. It is a solved game, with a forced draw assuming best play from both players. This game is designed for two players.
Click here to read the instructions on how to play.
Click here to download the executables for the various home computers:
- ATARI 400/800 [XEX format] (more info)
- ATARI XL/XE [XEX format] (more info)
- Commodore 64 [PRG & D64 format] (more info)
- TRS-80 Color Computer (COCO) [BIN & DSK format] (more info)
- AMSTRAD CPC 664 [DSK format] (more info)
- Dragon 64 [BIN format] (more info)
- MSX [ROM format](more info)
- Olivetti Prodest PC128 [K7 tape format] (more info)
This game joined the "BASIC10Liner" competition 2023.
Since it joined this competition, the game itself is modest in size, and the given source code respects strong constraints on the length of each line (category: PUR-120) and it does not rely on third party libraries. The check has been done using UGBASIC-IDE.
For those wishing to deepen the details of its implementation, please refer to the following documents: