User Tools

Site Tools


notes:fall2024:projects:msi0

This is an old revision of the document!


msi0

malloc

pointer arithmetic

array via pointer arithmetic

space invaders

The original Space Invaders was a game where the player character was positioned at the bottom of the screen and fought enemies at the top. The enemies were arrayed into several rows and columns, and they would shuffle left and right until they reached the screen's borders. When that would happen, the remaining enemies positioned themselves down one row, creeping toward the player. The enemies could also shoot at the player, in random order. The player, in their own defense, had shields to protect them from the enemies' advance. The shield had its own health value, and as the enemies would shoot at the player, the shields would eat up the damage to spare the player but deteriorate as time went on. Eventually, they would disappear entirely. The player could move left and right on rails and shoot back at the enemies. This is Space Invaders in a nutshell.

The objective is to create your own personal twist on Space Invaders. This could be introducing a new theme, or mechanics, while remaining true to the original. Enemy array formation / random attacks, player shooting, hit detection, and custom structs are a MUST.

It also would not hurt to consider having custom sprites, sounds, music, and / or a score for the player.

notes/fall2024/projects/msi0.1724974040.txt.gz · Last modified: 2024/08/29 23:27 by gsalce