943,840 Members | Top Members by Rank

Ad:
  • Java Discussion Thread
  • Unsolved
  • Views: 24585
  • Java RSS
Jul 30th, 2004
0

build java game

Expand Post »
hey everyone
i have a new java task comming up and it involves making a game that impliments buttons. for this task i have started to build a golf game but everything i do seems to not work i keep getting stuc.
bellow is a copy of my task.
ps..thankyou ricster for the help with my last task some of your code was helpful :mrgreen:


Outline: An Object Oriented Program (OOP) is an application that uses data objects that have properties and methods that determine what they do. Examples of such objects are screen buttons, images and frames.

What to do: Create a Java application that allows the user to play a simple game using buttons. One button is to allow the user to reset the game at any stage.

The application should present at least one screen frame (window) which contains the necessary objects for the user to play the game. It should give the title of the game, how to play it and the game's creator.

You need to create a single, properly formatted Appleworks file called Documentation which includes these sections:

the title, author and purpose of the project
a brief description of the game itself and how to start it executing
a list of all the files included in your project. For each of these files, give the name of the file, its function in the project and a full listing of the Java code, including comments.
What to submit: When you are ready to submit your work,

create a folder called OOPGame.
copy all the files you need for your game ie image/sound files, application file and documentation file etc, into your OOPGame folder.
give the files names that are appropriate for the game.
copy the OOPGame folder to your Hand in folder
Assessment: Your project will be mark according to these criteria:

File management
management of the project files;
Documentation
is set out with suitable section headers, page numbers, styles and fonts;
contains the correct sections for your project;
text is easy to read;
the listings contain sufficient comment statements;
the code uses appropriate identifier names;
the logic of the code is easy to follow;
Implementation
the game presents well on screen;
the application executes without error;
the game provides suitable feedback to the user;
the application uses basic screen elements such as buttons, text areas etc to play the game;
the reset button allows the user to start again;
the application includes advanced elements such as images, sounds etc;
the game 'keeps score';
the use of special features to enhance the running of the game;
-oOo-
Similar Threads
Reputation Points: 11
Solved Threads: 0
Newbie Poster
Elektro is offline Offline
14 posts
since Jul 2004
Jul 30th, 2004
0

Re: build java game

I am not allowed to write the whole program for you, however I can help you out in certain areas(more to do with actual programming).
It is up to you to decide on what kind of game to make.
I would start off by creating a spider/brain storm diagram with the ideas you have. Then narrow them down further and pick one that you are satisifed with. You could then perhaps do some sketches of what you want your game to look like and then move onto how to implement these parts in java.

Hope that makes sense! rickster
Reputation Points: 10
Solved Threads: 0
Newbie Poster
rickste_r is offline Offline
16 posts
since Jul 2004
Jul 30th, 2004
0

Re: build java game

are you able to give me an example of a java game with program code
thanks
Reputation Points: 11
Solved Threads: 0
Newbie Poster
Elektro is offline Offline
14 posts
since Jul 2004
Jul 30th, 2004
0

Re: build java game

Have a look at the file attached, a simple version of NoughtsAndCrosses. You have to get yourself familiar with using 2-Dimensional Arrays though!

This should get you started.
Attached Files
File Type: java NoughtsAndCrosses.java (4.4 KB, 810 views)
Reputation Points: 10
Solved Threads: 0
Newbie Poster
rickste_r is offline Offline
16 posts
since Jul 2004
Jul 31st, 2004
0

Re: build java game

thanks mate :cheesy:
Reputation Points: 11
Solved Threads: 0
Newbie Poster
Elektro is offline Offline
14 posts
since Jul 2004
Aug 7th, 2004
0

Re: build java game

mail me at nanosani@yahoo.co.uk ... I'll give you my game Yacht ... a purely button handling game.
Team Colleague
Reputation Points: 45
Solved Threads: 56
Unauthenticated Liar
nanosani is offline Offline
1,767 posts
since Jul 2004

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
This thread is currently closed and is not accepting any new replies.
Previous Thread in Java Forum Timeline: anyone has a text-to-braille coding sample?
Next Thread in Java Forum Timeline: help required for implementing project using JAVA & XML





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC