File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Beginning Java and the fly likes Queen Moves game Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Queen Moves game" Watch "Queen Moves game" New topic

Queen Moves game

Tom Paterson

Joined: Mar 26, 2003
Posts: 3
Hi all,
I was wondering if anybody could help me, I am looking to build an applet of the 'QueenJourney' game, the description of the game is here. This is a MIDlet version wheras I want an applet version. It is basically a chess board with only the Queen on the board, and the user has to cover each of the 64 squares within a maximum of 14 moves. I would be obliged if anyone can help me on this subject.
Below is what I have up till now, it does not have the functionality that I want yet:I am sure I should be using arrays but am not familiar with their use
Thanks for any help,
[ edited to preserve formatting using the [code] and [/code] UBB tags and to fix link -ds ]
[ March 26, 2003: Message edited by: Dirk Schreckmann ]
Layne Lund
Ranch Hand

Joined: Dec 06, 2001
Posts: 3061
What exactly do you have questions about. I am willing to help, but I don't have time to go through each line of code. If you can give me some idea of where you are running into problems, I can give you more helpful advice as well.

Java API Documentation
The Java Tutorial
Barry Gaunt
Ranch Hand

Joined: Aug 03, 2002
Posts: 7729
Tom, your link does not work.

Ask a Meaningful Question and HowToAskQuestionsOnJavaRanch
Getting someone to think and try something out is much more useful than just telling them the answer.
Tom Paterson

Joined: Mar 26, 2003
Posts: 3
I need to show,the moves that the Queen has taken (I guess by identifying where the Queen is on the board)this would allow me to build in exeptions and errors. Would I be better creating the board with arrays and if so how
Thanks again
Tom Paterson

Joined: Mar 26, 2003
Posts: 3
Sorry I hope this link works, The game is QueenMoves

Dirk Schreckmann

Joined: Dec 10, 2001
Posts: 7023
You'd an extra . in the URL. I fixed it.

[How To Ask Good Questions] [JavaRanch FAQ Wiki] [JavaRanch Radio]
I agree. Here's the link:
subject: Queen Moves game
jQuery in Action, 3rd edition