_TITLE "Alpha-Bit Invaders" 'mod Ken's original from spaghetti version DIM SHARED x
, y
, p
, m
, xx
, yy
, gameOver
, goAgain
goAgain = -1
Begin
GoRounds
WHILE gameOver
= 0 'setup next letter round yy = 1
yy = yy + 1
x = x - 5
x = x + 5
_LIMIT 10 '<<<<<<<<<<<<<<<<<<<<< old geezers with bad eyes adjust here! Ending
p = p + 100
gameOver = -1
FOR row
= (y
- 1) TO (y
+ 1) FOR col
= (x
- 1) TO (x
+ 1) m = m - 1
CP "Do you want to play again(Y/N)"
x = 20: y = 20: p = 0: gameOver = 0
LOCATE 4, 1: CP
"Alpha-Bit Invaders" CP
"-----------------":
PRINT CP
"By Ken G. mod bplus 2019-07-22":
PRINT CP
"Destroy 100 falling aliens to win the game.":
PRINT:
PRINT CP
"Use These Keys":
PRINT CP "Arrow Keys Left and Right to position under letter for firing."
CP
"Space Bar to Fire":
PRINT CP
"You are here + firing these *":
PRINT CP "Press any to begin."
CP "Difficulty"
CP "----------"
CP "(1) 10 cannons - Easy "
CP "(2) 5 cannons - Average"
CP "(3) 3 cannons - Hard "
CP "Press a number (1 to 3):"