Post Reply 
4K HP 67 Games rom attached for testing
11-03-2016, 07:00 PM (This post was last modified: 11-03-2016 07:03 PM by Dieter.)
Post: #84
RE: 4K HP 67 Games rom attached for testing
(11-03-2016 02:26 PM)Gene Wrote:  Post the BSP routine you would like included. I think we have the room.

Here it is. There are a few minor changes: the messages are more user-friendly, there is a different RNG, the test whether the ship has moved to negative coordinates is shorter and IMHO more correct than in the original version, and I think 12 torpedos are enough. ;-)

Here is a sample game.

Code:
XEQ"BSP"             SEED?

0,777 [R/S]          TORP=12
                     SHOOT

50 [ENTER] 50 [R/S]  DIST=15,30
                     TORP=11
                     SHOOT

35 [ENTER] 45 [R/S]  DIST=8,00
                     TORP=10
                     SHOOT

35 [ENTER] 50 [R/S]  DIST=3,00
                     HITS=1
                     TORP=9
                     SHOOT

30 [ENTER] 50 [R/S]  DIST=4,47
                     HITS=2
                     TORP=8
                     SHOOT

30 [ENTER] 40 [R/S]  DIST=7,07
                     HITS=2
                     TORP=7
                     SHOOT

25 [ENTER] 40 [R/S]  DIST=2,24
                     HITS=3
                     TORP=6
                     SHOOT

20 [ENTER] 40 [R/S]  DIST=1,41
                     HITS=4
                     TORP=5
                     SHOOT

25 [ENTER] 40 [R/S]  DIST=2,24
                     HITS=5
                     *DESTROYED*

Nevertheless the program requires not more than 171 bytes.
And it now uses only R00...05 instead of ...R09.

Dieter


Attached File(s)
.zip  BSP_2.zip (Size: 849 bytes / Downloads: 3)
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
HP-67 AOS program to debug - Gene - 10-30-2016, 02:11 AM
RE: 4K HP 67 Games rom attached for testing - Dieter - 11-03-2016 07:00 PM



User(s) browsing this thread: 3 Guest(s)