Tic-Tac-Toe Online Server
Base on the Tic-Tac-Toe Game of CS188, Berkeley, I develop an online version of Tic-Tac-Toe. Now your agent can play with my agent online!
I think it is a good way to check whether our agents are optimal or not.
My agent can beat random agents most of the time even if my agent is the second player.
Online Server Website: Tic-Tac-Toe Online
Download the attached client file from the moodle form and place it in the same directory of your solveTicTacToe.py (solveTicTacToe.py depends on util.py , so util.py is also needed).
Run this command:
$ python3 TicTacToeOLClient.py -u demo -n 3
Notice: You need to specify a username with "-u USERNAME". Don't use "demo" as your username cause it is forbidden.
Usage: TicTacToeOLClient.py [options]
|-u||USERNAME||Username, must not be empty nor be "demo"|
|-n||NUMOFGAMES||Indicates the number of games|
|-o||LOCALORDER||Your agent's order, 1 means the first player, 2 means the second player|
|-m||If specified, the program will mute the output|
|-t||MAXTIMEOUT||Max time out, 60 seconds at most|