November 18th, 2013, 11:36 PM
Castles and Creatures game
Write a c program to play a simple "adventure"-style interactive game. The adventure world consists of up to five castles each of which has up to seven rooms (35 total). Each room has a treasure, worth a certain number of points, and a creature guarding the treasure. The treasure can be captured by bluffing or fighting the creature. Bluffing always has a 30% chance of succeeding. The odds for winning a fight vary from creature to creature. The object of the game is to visit different rooms and gain as many treasure points as possible. The player begins with 9 lives and each fight lost costs a life. (There's no penalty for losing a bluff.) When all the lives (or all treasures) are gone the game ends. The adventure world information (like castle and room names) is stored in a text file. The program must read the text file and create a data structure to represent the world. (HINT: Use a record structure for each room.) The program must handle interaction with the player, including display of menus for castle and room choices, display of current lives and treasure points accumulated, and responding to one-character commands to fight, bluff, or move around the world.
November 19th, 2013, 01:25 AM
I withdraw my previous comment on another thread of yours.
You're just a driveby homework "dump and run" type looking for a free ride through college.
I hope this is where you get kicked off the course.
November 19th, 2013, 10:25 AM
i agree with you mr.salem.he just copys and pastes the question and expects for an easy answer which is not right
November 19th, 2013, 03:21 PM
I'm stupid enough to do the work for you.
The good situation is that I'm busy. So sorry.
[/code] are essential for python code and Makefiles!