Skip to content

Sphere-Corporation/GAME-TT

Repository files navigation

OXO/TTT Logo

A Game of
OXO
Tic-Tac-Toe
Noughts and Crosses

for the Sphere-1

Overview

  • Native 6800 Assembly code. No requirement for a Sphere-1 BASIC ROM.
  • Play against your friend. Challenge your friend to a skillful game.
  • Read about Noughts and Crosses here

Status

This game is a 1.1.2 release.

There is a roadmap to other features for future releases here.

For an up-to-date list of tasks yet to complete, look at the Issues and engage with the community with the Discussions area.

Alternatively, if you have a suggestion for an improvement, please use the Feature Request

Installation and Requirements

There are a number of prerequisites for downloading and running the game.

Which of the methods you use will depend on how you want to approach it, how experienced you are with assemblers, and what equipment you may or may not have.

All of the methods below require a method of running the game in either a virtual or physical Sphere-1 computer.

Running from source

The prerequisites for this are:

  • An MC6800 assembler available on the search path

  • The CONVERT tool has been installed and is on the search path (follow the full instructions for its installation)

Note that the assembler code is written to be compatible with the SB-Assembler 3.

Clone the repo from GitHub, then run the build script:

git clone https://github.com/Sphere-Corporation/GAME-TT.git`
cd GAME-TT
./build --config config.toml

Prior to this, you must ensure that the paths to your source code, assembler and convertEXE tool are correctly defined in the appropriate toml configuration files. The lines to change are commented appropriately. None of the other lines need to change unless you know what you are doing.

You may need to change the build script according to your environment as it is designed to run on a Unix-like environment

Different Assemblers

If you prefer to use your own/different assembler, please make the changes to the source file so you can assemble it, and add a section to the ASSEMBLERS.md file describing what changes you needed to do to ensure it works. If you do this, and you find that it would be beneficial to others, please submit a Pull Request and store the code in a directory named as follows:

src_<assembler_name>

e.g. src_asm80

Include a README.md file in the directory detailling any instructions that are pertinent to that assembler, such that anyone can understand how to assemble the code.

Running the Game

However you decide to run this game, the following instructions are required:

i) L OX/0200 - to load the game from the cassette (either physical or virtual)

ii) <CTRL-D> - enter debug mode

iii) <CTRL-O> 0200 - open the address of the program

iv) <CTRL-G> - "Go" - run the program

In action!

Early version of the game running on a Sphere-1.


Acknowledgements

Ben Zotto
Inspiration, a wealth of information, the image of the Sphere-1 used above, for running my software on his Sphere-1 hardware,and for alerting me to the Sphere-1 in the first place. Check out his extensive resources here.