~sfr/ttt.asm

Tic-Tac-Toe in Turbo Assembler
Condense trailing spaces
Exit to console instead of softlocking

clone

read-only
https://git.sr.ht/~sfr/ttt.asm
read/write
git@git.sr.ht:~sfr/ttt.asm

You can also use your local clone with git send-email.

#ttt.asm

A simple Tic-Tac-Toe game in Turbo Assembler

#Summary

In this game, you play Tic-Tac-Toe against a CPU. Seeing that Tic-Tac-Toe is a solved game, creating the perfect CPU will lead to every game resulting in a tie, which is no fun.

As such, I have made the CPU both predictable and very simple.

The player is always X, which means they always go first.

This game was created for a school project, and as such, the code might be poorly optimized and slow at times.

#Play the game

The game is designed to run on DOSBox using default resolution.

This repository hosts the source TASM code. To play the game, clone the repository, use Turbo Assembler and Turbo Link to compile the code into an executable, then run ttt.exe from DOSBox.

#License

Copyright (c) 2021 Sol Fisher Romanoff

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License. Refer to the License for details.