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)

