This assignment is worth 100 points.
The game also had a random dungeon level generator. It would generate a level and populate it with bad guys. As you approached the quest item, there would be a boss protecting it.
I would like you to write a simpler version of this game. You should have a quest generator in your world that generates and assigns quests. This should occur when the player approaches the quest generator and has no current quest. The generator should place an item somewhere in the world and instruct the player to find it.
The player should be able to press Q at any time to toggle a display of the current quest.
As implied in the previous description the player should have the following attributes
To make the level more fun, you should add a number of laser traps. A laser trap sits at a location and shines an invisible laser beam into the play area. If a player crosses the beam, they will take some points of damage. You should make the key L toggle the visibility of lasers on and off. In addition make the D key toggle the damage from lasers on and off (so I can grade your game).
Shooting a laser should disable the laser for a random amount of time.
You should have a number of areas where health and ammunition spawn at random. Do not spawn a new health or ammo if the item at the spawn location has not yet been picked up.
You should implement a help menu which displays the various keys described above. Please toggle this menu with the H key.
You should have a HUD that
+-------------------------------------+
| Current quest when toggled on |
| - -|
| + +|
| + +|
| + +|
| + +|
| + +|
| + +|
| - -|
| H A|
+-------------------------------------+