Total members 11889 |It is currently Thu Mar 28, 2024 10:30 am Login / Join Codemiles

Java

C/C++

PHP

C#

HTML

CSS

ASP

Javascript

JQuery

AJAX

XSD

Python

Matlab

R Scripts

Weka





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




Author:
Newbie
User avatar Posts: 1
Have thanks: 0 time

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
.

_________________
M. S. Rakha, Ph.D.
Queen's University
Canada


Author:
Mastermind
User avatar Posts: 2715
Have thanks: 74 time
Post new topic Reply to topic  [ 2 posts ] 

  Related Posts  to : Need help getting started on a small java game?
 2d game in java-Monster-Java 2D Game Graphics and Animation     -  
 ping pong game - java-Sticker-ball game (modified v1.1)     -  
 fill all Squares of game board - 2d Java Game Example     -  
 Snake Java (SE) Game     -  
 Chess Game in Java     -  
 need help in java 1.4 snake game project     -  
 JChess game (2 players Java chess )     -  
 Ball Color Match 2D Java Game Version 1.0     -  
 ping pong java code-Sticker-ball game     -  
 usage of small tag     -  



cron





Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
All copyrights reserved to codemiles.com 2007-2011
mileX v1.0 designed by codemiles team
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