333 DDD TTTTT I TTTTT TTTTT 3 3 D D T T T 3 D D T II CCCC T AAA CCCC T OOOO EEE 333 D D T I C T A C T O O E E 3 D D T I C T AAAA C T O O EEEEE 3 3 D D T I C T A A C T O O E 333 DDD T III CCCC T AAAA CCCC T OOOO EEE Version 3.0 by Raymond Hellstern Features: --------- o Real 4*4*4 TicTacToe o As fast as sys-RPL can be ;-) o Autosave/Restore game o Auto replay o Keeps track of your moves o Built in help screen o Rapid key repeat o Pure Sys-RPL o Uses only supported entries o Small in size (~4.8 KB) o Needs ~1KB of RAM to run o Should run on any HP48 Overview: --------- The board consists of four levels, each of which is four rows deep and four coloumns across, making a total of 64 squares on a three-dimensional board. Two players move alternately by placing a black or white marker on a square. Once a move is made, the piece is never moved or removed. In this game, the human always goes first. A player wins by placing four markers in straight line. The line can lie in more than one level, and diagonals are perfectly legitimate wins. The game is played just like regular TicTacToe, except that the board has one additional dimension, and is one square bigger in all dimensions. Board: ------ Each square on the board can be characterized by its level (z), its row (x) and its coloumn (y). |------------z----------->| 1 2 3 4 - ---- ---- ---- ---- ^ 4| |4| |4| |4| | | 3| |3| |3| |3| | y 2| |2| |2| |2| | | 1| |1| |1| |1| | - ---- ---- ---- ---- 1234 1234 1234 1234 |-x->| When you start TTT, the program looks for a variable 'TTTpar' in the current directory. 'TTTpar' holds the current game. If it exists, its contents (a Library Data object) will be evaluated, which means that the previously saved game will be loaded. If no 'TTTpar' is found, the program starts with a new game. When you exit TTT, 'TTTpar' is automatically created and the current game will be saved into it. MenuKeys: --------- ABOUT Shows copyright NEW New game LIST Shows all user moves AUTO Lets you replay the current game automatically INFO Shows some key info HardKeys: --------- UP,LEFT,DOWN,RIGHT Cursor keys: Move on the board (yellow)LEFT,(yellow)RIGHT Jump to next level The cursor keys have rapid key repeat (even the yellow-shifted) ENTER Make move ON Exit game (blue)ON Turn HP48 off MenuKey Description: -------------------- NEW: ---- When you press [NEW], you will be asked if you really want to clear the current game. If you press [YES], the current game will be lost. The [NO] or [ATTN] keys will cancel 'NEW', any other key will generate an error beep. LIST: ----- Pressing [LIST] causes the HP48 to show a list of move coordinates which were made by the user in the current game. AUTO: ----- When you press [AUTO], you will be asked if you really want to replay the current game. The [NO] or [ATTN] keys will cancel 'AUTO', any other key will generate an error beep. If you press [YES], the current game will be restarted. You can exit autoplay mode by pressing [ATTN]. If you do so, the pending move will be finished and you will be asked if you want to abort autoplay. Press [YES] to abort, [NO] or [ATTN] to resume autoplay. (Any other key will generate an error beep) When autoplay has finished its work or you aborted autoplay, you can play your game from that point on. INFO: ----- [INFO] will show some key information. More Info: ---------- Suggestions can be directed to the Author by FAX +49 511 661011 (8a.m. to 8p.m.) or Phone +49 0511 661011 (Evening) So, have fun Raymond Magic48ges company P.S. Chk/bytes of the library: #E40Dh/4910