File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Game Development and the fly likes handling game Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Game Development
Bookmark "handling game" Watch "handling game" New topic

handling game

Peter Tellanaki

Joined: Apr 27, 2009
Posts: 7

i have made game and gui. Now, how to handle game ? idea to play against ai which also made.
i think having class or main with

my problem is making move function for human. how to make that when i want the move to be move that human has made on gui? move function needs to wait for human to click gui and remember choice.

this is my last prob before i am done !
Amit Ghorpade

Joined: Jun 06, 2007
Posts: 2851

"Peter Jes T " please check your private messages for an important administrative matter. You can check them by clicking the My Private Messages link above.

|Asking Good Questions|
Brian Legg
Ranch Hand

Joined: Nov 07, 2008
Posts: 488
Peter, could you describe the problem you are having in more detail? I am having a hard time figuring out what you are trying to do. If you already made the game and the GUI then what is the problem you are having?

~Currently preparing for SCJP6
I agree. Here's the link:
subject: handling game
It's not a secret anymore!