Need Help with 2 Player Applet Game w Server

Hi , I am quite rush for a game project which is about batt|e ship .

The game judge is the ServerModel

Firstly

1) Player 1 , Player 2 press connect to establish connection.

2) Connection sucessful prompt for choosing of coordinate

3) Player 1 select a Map coor via mouse click and so do player 2

4) Game will start once both choosed the coor

5) The Game will run till Winner is determine

=> Winner is determine by <=

Player 1's Turn select a Map Coor and it HITS player 2 Ship spot = win.

viceversa for player 2.

=> My program problem , it is in version e, i been fixing it but cant find a way to fix my game to LOOP till Winner is determine.

The program will stop displaying MyTurn on the JLabel status and mouse event seem no longer work after ROUND 1 pass , which is player 1 click on player 2 and player 2 click back on player 1.

can help me check my code?

Special Jar used is

ClientModel.jar =>

method of readFromServer ( Return String)

and

sendToServer(Java.Lang.String)

[1100 byte] By [baokya] at [2007-11-27 11:19:47]
# 1

.

Message was edited by:

baoky

baokya at 2007-7-29 14:38:45 > top of Java-index,Java Essentials,Java Programming...
# 2

.

Message was edited by:

baoky

baokya at 2007-7-29 14:38:45 > top of Java-index,Java Essentials,Java Programming...
# 3

baoky, you've been told before to use code tags when posting code:

http://forum.java.sun.com/thread.jspa?threadID=5197453&messageID=9780961#9780961

If you continue to refuse to do so, I (and many others here) will refuse to look at your code.Did you even bother to read responses in your previous thread?

petes1234a at 2007-7-29 14:38:45 > top of Java-index,Java Essentials,Java Programming...
# 4

I do , but the problem now is that i am very confused with my own codes.. ok i will try reedit it and hope it helps.

baokya at 2007-7-29 14:38:45 > top of Java-index,Java Essentials,Java Programming...
# 5

> I do , but the problem now is that i am very confused

> with my own codes.. ok i will try reedit it and hope

> it helps.

You can't expect us to help you if you make it difficult for us to do so. It's your responsiblity.

petes1234a at 2007-7-29 14:38:45 > top of Java-index,Java Essentials,Java Programming...
# 6

i'm sorry , trying to do the code tag now.

baokya at 2007-7-29 14:38:45 > top of Java-index,Java Essentials,Java Programming...
# 7

your best bet is to repost the code, not edit what is there.

petes1234a at 2007-7-29 14:38:45 > top of Java-index,Java Essentials,Java Programming...
# 8

.

Message was edited by:

baoky

baokya at 2007-7-29 14:38:45 > top of Java-index,Java Essentials,Java Programming...
# 9

The code syntax is:

["code"]

//Post your code here

["/code"]

Without all the "'s...

shlumpha at 2007-7-29 14:38:45 > top of Java-index,Java Essentials,Java Programming...