A downloadable game

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. 

Leave a comment

Log in with itch.io to leave a comment.