Assignment 6 from CS50G - Angry Birds clone
Original code by Colton Ogden
Assignment:
Implement it such that when the player presses the space bar after they’ve launched an Alien, split the Alien into three Aliens that all behave just like the base Alien.Only allow splitting before we’ve hit anythingOne new Alien to spawn above and one below the original.Lastly, be sure that the launch marker doesn’t reset until all of the Aliens we fling have slowed to nearly being still.
Keys:
- space: Split bird
- left, right arrows: Scroll background
- escape: Quit game
- Almost all of this code was written by Colton Ogden for the CS50G EdX course
- Additional sound FX generated with Bfxr