C++ Assignment
$30-5000 USD
Pago na entrega
Task 1
Write an initial version of a C++ program to play a simple adventure game. In this version the Hero (the player) must move through terrain (a maze) in order to reach and save the Princess. The Hero moves in response to simple up/down/left/right commands entered by the user playing the game.
The screen image is redrawn with each cycle of the game reflecting the new position of the Hero. The Hero has an attribute known as their "health" which begins at 100% and decreases 1% for each move made. A loss of 5% occurs if they run into a wall. If their health reaches 0% before they save the Princess then they die and the player loses the game. If they reach the Princess then they win.
After each game the player is invited to play another game.
Task 2
Extend the initial version of the adventure game developed in Assignment 2 to include other
characters and various items. The aim of the game remains the saving of the princess before
the hero's health reaches zero. However, other characters (in this version only monsters) can
attack the hero and reduce his health. After sufficient attacks he will of course die. To help
the hero there are various items such as powerups that increase his health and items that can
be picked up and carried by the hero for later use. In this version of the game, these items are
elixirs, which boost the hero's health and weapons for attacking monsters. There are two
kinds of weapon, namely swords that the hero can use to kill nearby monsters, but at a cost in
health, and a ball o' fire that can be used to destroy all nearby monsters.
ID do Projeto: #3748499