ui
Class TextUI

java.lang.Object
  extended by ui.TextUI

public class TextUI
extends Object


Constructor Summary
TextUI()
           
TextUI(BufferedReader in, PrintStream out)
           
 
Method Summary
 void interactiveLoop()
          The interactive loop that drives the text interface.
static void main(String[] args)
          This main method creates a new TextUI object and begins its interactive loop.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TextUI

public TextUI()

TextUI

public TextUI(BufferedReader in,
              PrintStream out)
Method Detail

main

public static void main(String[] args)
This main method creates a new TextUI object and begins its interactive loop.


interactiveLoop

public void interactiveLoop()
                     throws IOException
The interactive loop that drives the text interface. The user enters commands (as specified in the documentation) to begin and play a game of Antichess. [NB: The loop trims whitespace from the beginning and end of user input; this is not required in the specification.]

Throws:
IOException