Tools: the test & host program
    Test & host program is available. (Download May 28 Version)
Platform
           * modify /dev entries in serial_dev[]
           * init_serial() may be have to be modified
Command line options:
           * No option: Player 1/2 on console: Human vs human.
           * -1: Player 1 on serial port 0: FPGA board moves first, then human.
           * -2: Player 1 on serial port 0: Human moves first, then FPGA board.
           * -3: Player 1/2 on serial port 0/1: FPGA board vs FPGA board.
           * -r: reverse serial port assignment on '-3' option.
           * -t: Do NOT show list of available tiles.
           * -p: Show the shape of placed tile.
           * -h: Show hint: but usually not a good move: p
           * -a [12]: Simple AI plays instead of human on stdin. "-a 1" moves as "-h" option, and "-a 2" moves a little bit wiser than that.
           * -T: Opens TCP port 10000 (and 10001) as a replacement of serial port 0 (and 1).
           * -o XX: Set serial port timeout to XX second(s).
    To interrupt this program in interactive mode, press Ctrl+D (not Ctrl+C). This will transmit "9" to the serial port to make the game over.
The Web interface: blokus-httpd
    May.01 version of the Test & Host program contains "blokus-httpd.c", which is an Web-based viewer of blokus-host. To use it, simply launch as:
    ./blokus-host | ./blokus-httpd
    Then connect http://localhost:11000/ on your browser and start the game as on the console, serial or TCP.
    To use blokus-httpd, do not give "hint options" to blokus-host. Any other options about game modes and communication are allowed.
Known issues / restrictions
           * On Cygwin, serial port setup should be done by setup_com12.bat before running blokus-host.
           * Only 1 browser session is allowed on a blokus-httpd.
           * Internet connection is required (or modify the HTML source to use jQuery on your local directory.)
           * The browser must support HTML5 Canvas.
           * "blokus.html" must be in current directory.
Revision history
           * Initial version.
License
Acknowlegements
Boards
    Updated: May 26, 2014