Lab 9

Create an AI client for TicTacToe.

Activity

  1. Modify the TTT client so that it acts as a computer opponent. The computer should make a valid, but randomly selected, move.

Resources

NetworkConnection.java (V1.0)

To start a server: bin/server.sh

To compile and run your plugin,
cd plugins
javac ..:. *.java
cd ..
bin/client.sh
To connect to your local server, select the default host "localhost".
Then open another terminal window, and start a second client running with a different username.

Submission

Demonstrate your completed program to the instructor.
Create a zip file containing the plugins folder and the TTT folder.
Submit the zip file via handin to the "Lab9" folder.