(HP-67/97) A simple tennis game
|
04-23-2018, 11:37 AM
Post: #1
|
|||
|
|||
(HP-67/97) A simple tennis game
I just read some older posts in the HP41 Software Library and I found Namir's "Cyber Tennis Game for HP-41C". So I thought I could do something similar for the good old HP67/97:
Code: 001 LBL E Usage: Enter a seed (between 0 and 1) for the random number generator and press [E]. This starts a new match. A new match can also be started by pressing [A]. This does not change the random seed. Press [B] to play the next point. The score is displayed as yy.cc where yy is your score and cc the calculator's. Note: After having started with [E] or [A] you may also simply press [R/S] to play the next point. The match is won as soon as one of the players reaches 10 points and his score is higher by at least two points. This can be modified by changing the numbers in line 022 (more than 9 points to win) and 030 (at least 2 points ahead required). If you try a seed of 0,123 you will see a quite exciting match. ;-) Code: 0,123 [E] 0.00 The program has less than 50 lines, so a version for a lower end calculator – maybe the 12C – should not be too difficult. ;-) Dieter |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)