The Main Program - How To Code Games In BBC BASIC (8)

By Colin Hoad | Feb 09, 2021
RSS
In this extended episode, we take a look at the main program that powers Cosmic Invaders, exploring the concepts of program control flow, REPEAT...UNTIL loops, artificial pausing and the INKEY$() function!

CORRECTION: The TIME command measures time (roughly) in centi-seconds (so TIME=1000 is equivalent to approximately 10 seconds). This is not the same thing as CPU cycles or interpreter cycles, apologies.

RESOURCES: http://www.colinhoad.com/bbcmicro/cosmicinvaders/