Tunnels & Traps: A Tiny BASIC Game

3

Ogion 2019-08-30 04:16

Anyone interested in converting this old program of mine from the Apple II to LowRes NX?
http://troypress.com/tunnels-traps-a-tiny-basic-game/

It was originally written for the TRS-80 Pocket Computer, which had a 1-line 24-character screen, so it shouldn't take too much work to get it to fit on the NX screen.

Don't use the Pocket Computer code - used arrays to reference variables A to Z.


was8bit 2019-08-30 14:55

I'll give it a go :)


was8bit 2019-08-31 14:54

Doesn’t seem to work properly... maybe you can fix ?

Tunnels and Traps.nx | Open in app
2019-08-31 14:54

Ogion 2019-09-01 15:33

I just played it 5 times, and it worked every time. What bug are you seeing?


was8bit 2019-09-01 16:16

I am perpetually in a trap, and it yields two messages, one says -1 and one says +1..

Perhaps I'm not playing it right ??

Well, if it's working for you at least than I'm glad as that means I converted it correctly :)


Ogion 2019-09-01 17:32

What tunnel number did you enter? I was able to recreate the problem entering "N" for the tunnel number instead of 1, 2, or 3.


Ogion 2019-09-01 17:44

By the way, thanks! It works great. I'm going to fit some of the text to 20 characters per line.


was8bit 2019-09-02 05:53

Oh, I just hit the ENTER without entering any #...that’s why ...

It was a fun challenge, I enjoyed converting it...

I have the code for a basic text version of a Star Trek game ... but compared to yours this one is HUGE... say maybe 100x longer and isn’t nice and clean like yours.... I figured out an easy way to convert all the line #’s into labels, test ran it, and it basically crashed because there quantity of line# converted into labels exceeded the number lowres could handle... so I gave up on that one...


was8bit 2019-09-02 05:53

Post anything you make, and share with us :)


Log in to reply.