Creating the Tic-Tac-Toe Competitor (Phase 2)

Table of Contents:

  1. ReadMe.html: that's this file.  So read me.
  2. TTT-UI.nlogo:  The TicTacToe GUI
  3. TTT-Random-NetLogo.py:  This is a Python competitor that simply chooses a random move.  Useful for testing the Netlogo GUI
  4. TTT-Netlogo-student-template-least.py: This is a partially completed Python competitor, for you to complete.

First:  Download and install the latest Netlogo (ver. 6.1.1 would be good)

Then: In Netlogo, go to Tools/Extensions and make sure that the CSV and Python extensions are checked.  If not, install them using this extensions tool.

Then: In Netlogo, load the TTT-UI.nlogo model, and look at the Info tab for instructions. 

Then: Try out the TTT-Random-Netlogo.py competitor using this Netlogo GUI.

Then: Try to finish the TTT-Netlogo-student-template-least.py program and debug it.  This will eventually need to be a program you call from the command-line.

Then: Read the Netlogo Info tab for the calling sequence for your Python competitor, and what it must write to the output file.

Then: Try it in toNetlogo

Then: Debug

Then: If problems, go back 2 steps

Then: If severe problems, talk to me.  There may be a simpler way to succeed at this task.

Then: You're done and can submit it to the Homework server.