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.

History

Final Submission. I have read and agreed with Statement of Academic Integrity. default tip

2020-05-27, by evanso [Wed, 27 May 2020 02:06:05 +0000] rev 87

Final Submission. I have read and agreed with Statement of Academic Integrity.


Fixed bugs in play game and removed any excess included headers.

2020-05-27, by evanso [Wed, 27 May 2020 00:32:04 +0000] rev 86

Fixed bugs in play game and removed any excess included headers.


Spell checked all of code and comments

2020-05-26, by evanso [Tue, 26 May 2020 19:38:48 +0000] rev 85

Spell checked all of code and comments


Fixed bugs in the game and separated out long functions.

2020-05-26, by evanso [Tue, 26 May 2020 14:39:45 +0000] rev 84

Fixed bugs in the game and separated out long functions.


Added many unit tests for PlayEngine class wich all passed!

2020-05-25, by evanso [Mon, 25 May 2020 22:18:11 +0000] rev 83

Added many unit tests for PlayEngine class wich all passed!


Made commenting and formatting of code more consistent.

2020-05-25, by evanso [Mon, 25 May 2020 18:39:51 +0000] rev 82

Made commenting and formatting of code more consistent.


Removed arrowing(deeply nested if statements) and added game lunch screen.

2020-05-25, by evanso [Mon, 25 May 2020 15:59:14 +0000] rev 81

Removed arrowing(deeply nested if statements) and added game lunch screen.


Split GameEngine class into two different classes to reduce its size The parent class PlayEngine was created to hold the function that control the interaction between classes in the playable part of the game and so they can be unit tested.

2020-05-25, by evanso [Mon, 25 May 2020 15:07:24 +0000] rev 80

Split GameEngine class into two different classes to reduce its size The parent class PlayEngine was created to hold the function that control the interaction between classes in the playable part of the game and so they can be unit tested.


Added high score unit test which it passed!

2020-05-24, by evanso [Sun, 24 May 2020 21:11:55 +0000] rev 79

Added high score unit test which it passed!


Added SD Errors parent class.

2020-05-24, by evanso [Sun, 24 May 2020 19:31:32 +0000] rev 78

Added SD Errors parent class.