Switch to full style
Java2 codes,problems ,discussions and solutions are here
Post a reply

Need help getting started on a small java game?

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



Re: Need help getting started on a small java game?

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
.

Post a reply
  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     -