(Comp.sources.hp48) Item: 80 by erikmb@etek.chalmers.se [Erik Bryntse] Subj: Erik's Reversi Date: Sun Mar 15 1992 ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ ³ Mini-instructions: LIBRARY REVERSI REVERSI; then arrows ³ ³ & ENTER to move, & menu keys for other features. -jkh- ³ ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ [Note: Compare with Paul Dale's REVERSI on Goodies Disk #2. -jkh-] ERIK's REVERSI v1.0 =================== Would you like to have a game of Reversi that: * Runs on your '48? * Takes up less than 4KB of memory? * Will think up to nine moves ahead? * Is fast? Then that's exactly what you have here! I think that Erik's Reversi will be a challenge for most people, mainly beacause it's very fast. Here are some examples of the time it takes for the program to make a move: Level Time (approx) ----- ------------ 1, 2, 3 =< 10 secs 4 20 secs 5 1 min 6 4 min The "level" corresponds to the number of moves the program thinks ahead, except in the beginning and in the end of the game. Then the program will think one level deeper, since there are fewer moves possible. Move the cursor with the arrow keys and make a move with the ENTER key. The + and - keys changes the difficulty level. If you press the HELP key, the program will make a move for you. The SKIP key is used to skip your move when no move is possible. Pressing the ON key aborts the program. To remove the program, you will need to execute 874 DETACH in the home directory, followed by :0:874 PURGE. If you have never played Reversi before, here is a brief description: Reversi is played on a board with 8x8 squares and 64 bricks that are white on one side and black on the other. When the game starts, two bricks of each color are placed in the middle of the board. To make a move, you place a brick so that at least one of the opponents bricks is "trapped" between two of your bricks. Then you can turn all the bricks that were trapped, so that they will be of your color. The game ends when noone can make a move. The player that have the most bricks wins. ---------------------------------------------------------------- ERIK's REVERSI is (c) Copyright 1992 Erik Bryntse. You may copy and use this program for for non-profit purposes. You may not modify this program, or use the subroutines in it, without my permission. Use this program at your own risk. ---------------------------------------------------------------- Have fun! Erik Bryntse erikmb@etek.chalmers.se [Note: Compare this REVERSI to the one by Paul Dale on Goodies Disk #2. -jkh-]