org.moyoman.client.cli
Class Cli
java.lang.Object
|
+--org.moyoman.client.cli.Cli
- public class Cli
- extends Object
Constructor Summary |
Cli()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
x
private int x
y
private int y
id
private String id
isBlack
private boolean isBlack
black
private boolean[][] black
white
private boolean[][] white
moveNumber
private short moveNumber
Cli
public Cli()
throws Exception
main
public static void main(String[] args)
- This method starts up the Moyoman server.
- Parameters:
args
- The command line arguments.
initialize
private void initialize()
hcPlay
private void hcPlay()
throws Exception
Exception
ccPlay
private void ccPlay()
throws Exception
Exception
play
private void play(Player black,
Player white)
throws Exception
Exception
displayInitialBoard
private void displayInitialBoard(GameRecord gr)
displayBoard
protected void displayBoard()
modifyStone
protected void modifyStone(Stone st,
boolean val)
setMoveNumber
protected void setMoveNumber(short num)