Thu Feb 25, 2010 1:32 am
Hello.. Well i need some help getting started with this small project can you guys help me?
"Design a program to play a game. The program will consist of one or more classes. Each class will
have a state and operations to provide its services.
A player moves through rooms looking for a demon. Each room has from one to four doors, in the
directions north, south, east, and west. The player does not know which doors a room has. The
player does not know which room contains the demon. The player can ask a room if it has a door in a
given direction but each question costs one point. The player can ask the room it is in to beam it
to the room in a given direction. If the room does not exist it costs three points and nothing
happens. The player remains in the current room. When the player enters the room with the demon the
game ends. The objective is to find the demon with the minimum cost."
Im not even sure how to start all I know that I need to create a Room class and a Player class
Thu Feb 25, 2010 2:02 pm
do you need graphics in this game or just the logic .
One of the coolest game i made , is monster 2d , it is not for production , it just for learning .
finished-projects/monster-2d-game-t620.html .
Codemiles.com is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.com
Powered by phpBB © phpBB Group.