Star Treck (simple one)

Just BASIC Games
Post Reply
tsh73
Posts: 46
Joined: Fri May 04, 2007 12:03 pm

Star Treck (simple one)

Post by tsh73 »

Here is the entry for Text-based Program Challenge
It is conversion of text mode Star Trek game for JB.
It is playable ;)
Just read manual once and have a picture of compass near.
Just for a record - if you like that you can try Classic STAR TREK by NIckP on the same archive page. It is MUCH more convoluted (and probably much more interesting - if it is of interest for you).
Attachments
starTreckJB.zip
(5.53 KiB) Downloaded 346 times
stpendl
Site Admin
Posts: 61
Joined: Wed Jan 18, 2006 10:05 pm
Location: Austria

Post by stpendl »

This is a revised version to remove GOTOs that caused problems.
  1. replaced GOTOs by changing them to IF..END IF blocks
  2. corrected the way loops were exited by GOTOs
    used flag variables and EXIT FOR
Now there seem to be no more infinite loops and other unexpected behavior.
Attachments
starTreckJB_revised.zip
Revised version to remove GOTOs causing problems.
(5.72 KiB) Downloaded 315 times
Stefan
The invisible Admin
Post Reply