(71B) Cyber Tennis for HP-71B - Printable Version +- HP Forums (https://www.hpmuseum.org/forum) +-- Forum: HP Software Libraries (/forum-10.html) +--- Forum: General Software Library (/forum-13.html) +--- Thread: (71B) Cyber Tennis for HP-71B (/thread-8976.html) |
(71B) Cyber Tennis for HP-71B - Namir - 09-03-2017 06:45 PM The game assumes you are playing a 10-point match of cyber tennis. You play as many rounds until either you or the calculator wins 10 rounds. See instructions to play the game. Memory Map Code: M9 = max range HP-71B Listing Code: 10 REM CYBER TENNIS - 10-POINJT GAME Instructions 1) Press the [RUN] key. 2) The calculator prompts you to enter a new seed for the random number. 3) Optionally enter a new seed and press [ENTER]. You can simply do the latter to use the current random number. 4) If you win the current round, the program displays "YOU=" followed by you current total winnings. If you lose the current round, program displays "CALC=" followed by the calculator's current total winnings. If neither wins the current round, the program displays "TIE". 5) If you reached the maximum number of points to win, the program displays "YOU WIN". If the calculator has reached the maximum number of points to win, the program displays "YOU LOSE". The program stops if there is a winner. 6) Resume at step 4. |