A downloadable game

Download NowName your own price

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 like ATARI 400/800/XL/XE, Commodore 64, TRS-80 Color Computer (COCO), AMSTRAD CPC 664, Dragon 64 , MSX and Olivetti Prodest PC128..

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.

This game joins 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 source code is available on this repository.

HOW MUCH HAS ugBASIC HELPED?

This cross-platform game would not have been possible without using ugBASIC : it is an isomorphic language and it has cross compilers that works on Linux and Windows, that directly converts high level algorithms into the assembly equivalent for the given CPU / computer.  


Developing for multiple platforms requires very little effort because the source does not have to be adapted. With a single source code you can obtain programs for multiple retro computers, even very different from each other. Moreover, each target can have a dedicated optimizer, which allows to achieve very interesting results while leaving the BASIC code fully readable. 

Download

Download NowName your own price

Click download now to get access to the following files:

TIC-TAC-TOE for ATARI 400/800 (xex) 24 kB
TIC-TAC-TOE for ATARI XL/XE (xex) 24 kB
TIC-TAC-TOE for C64 (d64) 170 kB
TIC-TAC-TOE for C64 (prg) 48 kB
TIC-TAC-TOE for TRS-80 COCO (bin) 18 kB
TIC-TAC-TOE for TRS-80 COCO (dsk) 157 kB
TIC-TAC-TOE for DRAGON 64 (bin) 18 kB
TIC-TAC-TOE for MSX (rom) 32 kB
TIC-TAC-TOE for OLIVETTI PRODEST PC128 (k7) 20 kB
TIC-TAC-TOE for AMSTRAD CPC 664 (dsk) 190 kB

Comments

Log in with itch.io to leave a comment.

very good