CP2003 - Tutorial Ten: Net-TicTacToe


Today we're going to look at extending an existing application with a network interface.

  1. Firstly, consider the example TicTacToe.java.

  2. Download, compile and run TicTacToe.java (don't forget to download the images nought and cross to the same directory).

  3. Once you've had enough of being thrashed by the computer, try implementing a network setup of tictactoe:

  4. If you manage to make it this far, how about trying to create a client vs client system where two remote human-controlled clients can face off against one another.


Copyright © 2000. James Cook University. All rights reserved.