https://github.com/noor188/space-invaders
The design of the classic arcade game space invaders
https://github.com/noor188/space-invaders
functional-programming system-design
Last synced: 2 months ago
JSON representation
The design of the classic arcade game space invaders
- Host: GitHub
- URL: https://github.com/noor188/space-invaders
- Owner: noor188
- Created: 2024-08-21T16:49:48.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-04-11T23:15:13.000Z (12 months ago)
- Last Synced: 2025-05-14T18:11:51.304Z (11 months ago)
- Topics: functional-programming, system-design
- Language: Racket
- Homepage:
- Size: 6.42 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Space-Invaders
The design of the classic arcade game space invaders
# Learning goal:
learned a systematic programming method rather than a programming language. This practical approach helped me channel my creativity so that I can program well in any language.
# Design
This Space Invaders game have the following behaviour:
1. The tank moves right and left at the bottom of the screen when you press the arrow keys. If you press the left arrow key, it will continue to move left at a constant speed until you press the right arrow key.
2. The tank fires missiles straight up from its current position when you press the space bar.
3. The invaders appear randomly along the top of the screen and move at a 45 degree angle. When they hit a wall they bounce off and continue at a 45 degree angle in the other direction.
4. When an invader reaches the bottom of the screen, the game is over.
-------------------------------------------------------------------------------------------
# What the game looks like during play:
