It is currently Fri Jul 30, 2010 2:08 pm


All times are UTC [ DST ]


Ask on Codemiles community and get answers Free and Fast :

Java is a high level programming language .Here ask your java questions ,and get answers free. Read java articles.

Our guest share with us your code snippets , your programming problems , your open source projects ,read articles and post yours .







Post new topic Reply to topic  [ 2 posts ] 
  Print view Previous topic | Next topic 
Author Message
 Post subject: Need help getting started on a small java game?
PostPosted: Thu Feb 25, 2010 1:32 am 
Offline
Newbie
User avatar

Joined: Thu Feb 25, 2010 1:24 am
Posts: 1
Has thanked: 0 time
Have thanks: 0 time

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


TOP
 Profile Send private message  
 
| More
 Post subject: Re: Need help getting started on a small java game?
PostPosted: Thu Feb 25, 2010 2:02 pm 
Offline
Mastermind
User avatar

Joined: Tue Mar 27, 2007 10:55 pm
Posts: 1573
Location: Earth
Has thanked: 10 time
Have thanks: 16 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
.

_________________
Currenlty programming with : java , html , php , and javascript .


TOP
 Profile Send private message  
 
| More
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 


 Similar topics
 Topic title   Forum   Author   Replies 
 Elements of a Java Program  Java  msi_333  1
 Simple Snake Game  Java  msi_333  2
 Java/J2ee Developer  INDIA Jobs  poojak  0
 134581-Walk in for JAVA developers in chennai  INDIA Jobs  poojak  0
 race game source code in j2me  INDIA Jobs  sardar  0

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  





Home
General Talks
Finished Projects
Code Library
Games
Tutorials

Java
C/C++
C-sharp
php
Script
JSP/Servlets
Ajax
ASP/ASP.net
Google SEO
Database
Communications
Phpbb3 styles
Photoshop tutorials
Flash tutorials
Find a job






Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
All copyrights reserved to codemiles.com 2007-2009
mileX v1.0 designed by codemiles team