org.moyoman.client.cli
Class Cli

java.lang.Object
  |
  +--org.moyoman.client.cli.Cli

public class Cli
extends Object


Field Summary
private  boolean[][] black
           
private  String id
           
private  boolean isBlack
           
private  short moveNumber
           
private  boolean[][] white
           
private  int x
           
private  int y
           
 
Constructor Summary
Cli()
           
 
Method Summary
private  void ccPlay()
           
protected  void displayBoard()
           
private  void displayInitialBoard(GameRecord gr)
           
private  void hcPlay()
           
private  void initialize()
           
static void main(String[] args)
          This method starts up the Moyoman server.
protected  void modifyStone(Stone st, boolean val)
           
private  void play(Player black, Player white)
           
protected  void setMoveNumber(short num)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

Cli

public Cli()
    throws Exception
Method Detail

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)