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 Map/Map_test.h

Revision Date Message Actions
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
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
27:8bb2bd97c319 2020-05-13 Added position parent class for other classes to inherit XY positions and direction bool. Added more Doxygen comments. Made code and comments multi-line to increase readability. File  Diff  Annotate
21:f7d7834e3af1 2020-05-05 Alien now moves with the map as the spaceship moves. Alien also moves towards the x position of the spaceship by its self. File  Diff  Annotate
18:11068b98e261 2020-05-01 Added functions so if button A is press the spaceship shoots a bullet. File  Diff  Annotate
15:90b6821bcf64 2020-04-28 Added DEBUG compile macros to check calculate_map_map was producing correct output File  Diff  Annotate
14:7419c680656f 2020-04-26 Added map movement test unit and doxygen details to comments. File  Diff  Annotate
13:12276eed13ac 2020-04-26 Changed spaceship unit test code so it now done properly and doesn't require my input. Changed where objects are defined to reduce the number of arguments that need passing when a function is called. Edited gamepad code to properly add ADC pin. File  Diff  Annotate
12:1c0b6796aaca 2020-04-24 Added unit test for map, which it passed. File  Diff  Annotate