A fully-tested, fully-modular version of space invaders built with Racket, a modern dialect of Lisp.
- Install racket from here.
- Open .rkt file
- Press Run
- Start the game by typing
(main GAME-START)
in the DrRacket console and pressEnter
If you need any additional info for installation you could check the docs from here.
domain-analysis.pdf
: the domain analysis of the program.functions.txt
: a list of the program functions.starter.rkt
: the source code.
Few areas that could be further enhanced for an improved gaming experience:
- Limit rate of missile fire so it would require some accuracy hitting invaders.
- Add a pause of 3 seconds when the invader reaches the base and make the tank blink (indicating death) so the user can look at his failure better 😈.
- Increase invade rate as time goes by. Display a level number with each invade rate increment. Start the gameplay with 'Level 1'.
This program represents the culminating project of the How to code - simple data
course, the 1st of 6 of Software Development Micromasters Program
offered by UBC
. Check it out here.