This is an old revision of the document!
Preamble:
-Your soul is now on fire!
-Brief history lesson on tables
-Discussed AI policies, don't do it
-Opening projects: abc0 and btt0, do it
-Next due project, making space invaders (msi0 and after that msi1)
-First four pct's are available as of writing. 0 and 1 are due end of tomorrow.
-Journals / Class documents available
Class Discussion:
msi0 - using malloc'ed ARRAYS of structs, make space invaders. On the screen, the player at the bottom will shoot enemies at the top of the screen. They in the form of a grid, all aligned evenly, and if the player's bolt hits the enemy, they should go away with the bolt. The enemies march to one side of the screen and move down a row. The enemies should also shoot back. The player should die and cause a game over when the enemies either hit the player head-on or if their bolt hits the enemy. Consider have a score count on screen. Other bonus features are optional, like shields or powerups.
In your struct for sprites (sprites being the things on screen), consider an X and Y for each on screen.
*Key instruction, how to form arrays with pointers: Sprite *array = NULL; array = (Sprite *)malloc(sizeof(Sprite) * 15);
msi1 - the same project, but converting msi0 to use a linked list instead of an array, possibly the conversation for Thursday 8/29
Matt's class will make you think so hard, it'll make you physically ill!
*hg log for keeping track of commits
Preamble:
-Shared funny meme about being tortured by the butchering of modern language in general chat.
-Accidently induced severe brainrot on the class.
-Ken and Xavier have never been seen in the same room together. Coincidence?
Class Discussion:
-Worked on projects and other things.
-Next time we will discuss linked lists for msi1.