Hasty Briefsbeta

Appleii Air Attack.BAS

4 days ago
  • #retro-gaming
  • #Applesoft-BASIC
  • #emulation
  • The text describes a game called 'AIR ATTACK', originally from the 1984 book 'Games Apples Play' and refactored by Michael Coorlim.
  • The game is written in Applesoft BASIC and is presented in Joshua Bell's JavaScript emulator, which lacks some high-res graphic commands but works for this game.
  • Players control a plane and drop bombs to hit ships below, with different points awarded for hitting the lower deck (10 points), upper deck (20 points), and smokestack (30 points).
  • The game starts with 15 bombs, and players must time their drops to hit the moving ships.
  • The code includes setup, play loop, and end sections, with graphics drawn using horizontal lines (HLIN) and single points (PLOT).
  • Keyboard input is checked using PEEK(-16384), and the game uses SCRN to detect collisions and calculate scores.
  • At the end of the game, players receive a rating based on their score, ranging from 'Terrible!' to 'Amazing!'.