Ben Evans University Second Year Project. Game Called Defender.

Dependencies:   mbed

https://os.mbed.com/media/uploads/evanso/84bc1a30759fd6a1e3f1fd1fae3e97c2.png

Hello, soldier, you have been specially selected as the defender of planet earth.

Your mission, if you choose to accept it. Fly around the planet and pulverise invading alien ships for as long as you can. Stop the aliens abducting the innocent people on the ground. Be warned if an alien ship manages to abduct a person and take them to top of the screen, they will no longer move randomly and will begin to hunt you down. This sounds like a challenge you were trained for.

But don’t worry soldier you’re not going into battle empty-handed. Your ship is equipped with a state of the art laser beam that has unlimited ammo and four smart bombs that will destroy anything on the screen. The ship also has three lives so use them wisely.

As time goes on more alien ships will arrive on planet earth increasing the difficulty of your mission. And remember the landscape bellow loops around so if you continually fly in the same direction you go to your original position. Good luck soldier.

Revisions of SavedGames/SavedGames.h

Revision Date Message Actions
86:eecd168c3a23 2020-05-27 Fixed bugs in play game and removed any excess included headers. File  Diff  Annotate
85:87bc28b151d8 2020-05-26 Spell checked all of code and comments File  Diff  Annotate
82:3211b31e9421 2020-05-25 Made commenting and formatting of code more consistent. File  Diff  Annotate
79:66bcf8fa2d2d 2020-05-24 Added high score unit test which it passed! File  Diff  Annotate
78:6a6c93c19ed1 2020-05-24 Added SD Errors parent class. File  Diff  Annotate
75:643a509cf9ed 2020-05-23 Created high score menu and added it to the menu. File  Diff  Annotate
68:bb1650c657ef 2020-05-21 Added sprites file to store letter for the title screen and arrows for menus. Also added a time to stop double-button presses. File  Diff  Annotate
67:a2984682d641 2020-05-21 Added SaveGame unit test which all passed! Had to define the unit test that tests actually saving and reading from a file as kept getting an error when declaring the sd object. File  Diff  Annotate
64:e9dfc35a1738 2020-05-21 Tidy up code in Game Engine class File  Diff  Annotate
63:4631447440cf 2020-05-21 Correct error screen show if save isn't present or sd card not inserted File  Diff  Annotate
61:7c4ec680a428 2020-05-20 Added no saved games screen File  Diff  Annotate
60:55fdc6bb29b9 2020-05-20 Added function to the screen that lets you select with file to save to File  Diff  Annotate
59:0b2e43312d6b 2020-05-20 Added saved_game_overide_init function to add to saved data to the playable part of the game when it selected. File  Diff  Annotate
54:d46459104dea 2020-05-19 Added display_saved_games function and scroll_saved_games function to SavedGames class. File  Diff  Annotate
53:01be7898c23f 2020-05-19 Added read saved data function to SavedGames class File  Diff  Annotate
52:feb8cf28bcff 2020-05-19 Added add_saved_data function to savedata class File  Diff  Annotate
51:35cb8e604b72 2020-05-19 Added check if the file can open function to saved games class. File  Diff  Annotate
50:13c8710985f4 2020-05-19 Added check for sd function to saved games File  Diff  Annotate
49:ed569eceeaa4 2020-05-19 Created saved games class File  Diff  Annotate