Jump to content

Photo

New Game - Stratego

Stratego TI 99/4A Extended Basic

52 replies to this topic

#51 Vorticon OFFLINE  

Vorticon

    River Patroller

  • Topic Starter
  • 3,726 posts
  • Location:Eagan, MN, USA

Posted Wed Apr 10, 2019 10:30 AM

Yes, there is certainly a lot of room for compacting the code. However, for complex programs such as this one, I like to use the SUB feature because it clearly circumscribes the function of the routine as well as its required parameters, plus it gives me the freedom to use local variables that will not be shared with the main program. You are absolutely correct in the fact that several of the SUB's could be converted to regular subroutines, but at the cost of clarity, at least for me. Perhaps it's an unconscious need for me to inject structure into an otherwise chaotic XB environment :)

 

As for that repetitive code section you mentioned, I have definitely given it a lot of thought during the development of the program, and while it is of course possible to compact it, this would also have introduced a lot of convolutions since each section is not exactly the same, so here again I opted for clarity.



#52 Vorticon OFFLINE  

Vorticon

    River Patroller

  • Topic Starter
  • 3,726 posts
  • Location:Eagan, MN, USA

Posted Sat Apr 13, 2019 10:05 AM

This last update does not make any enhancements to the gameplay. It combines the 2 parts of Stratego into one large program that is compiled, thus eliminating the need to save/load data from disk when transitioning between the 2 parts, and in the process reducing the loading delay by a couple of minutes. This is mostly apparent for real hardware users however. Oh and the program now autoloads from XB. The manual has also been updated with the addition of a back cover as well. I think I'm going to officially sign off on this project at this point and call it done.  :)



#53 Opry99er OFFLINE  

Opry99er

    Quadrunner

  • 10,733 posts
  • Location:Hustisford, WI

Posted Sat Apr 13, 2019 8:37 PM

So nice.... :)

Thanks for all your hard work here. A truly awesome piece of software. :)





Also tagged with one or more of these keywords: Stratego, TI 99/4A, Extended Basic

0 user(s) are browsing this forum

0 members, 0 guests, 0 anonymous users