If you want to test a robot class called Mbot.class
a Human board called MBoard.class and a rule called MRules.class
use: java jGDK M h b
This is the jGames Developement Kit
It's designed to test Robots, Board and Rules classes for jGames
This class needs it's own Gpanel.class Player.class and HPlayer.class
It alse needs Rules.class and Board.class but they are similar to
the client's and the server's ones
- Version:
- 1.0b1 5 Feb 99
-
player1
-
-
player2
-
-
rules
-
-
turn
-
-
jGDK(String[])
- Constructeur, cree les deux joueurs ainsi que la regle puis lance un Thread jGDK
-
init()
-
-
log(String)
- log : just print a text on the console
-
main(String[])
-
-
play(int, Player)
-
player1
Player player1
player2
Player player2
rules
Rules rules
turn
private boolean turn
jGDK
jGDK(String args[])
- Constructeur, cree les deux joueurs ainsi que la regle puis lance un Thread jGDK
main
public static void main(String args[])
init
public void init()
log
void log(String s)
- log : just print a text on the console
play
synchronized void play(int i,
Player player)