| WebSys Fall 2003: HW3 - PHP Tic-tac-toe |
|   WebSys Home   |   HW3 FAQ   |   WebSys Blog |
Write a tic-tac-toe game in PHP. One player is human, the PHP progam provides the logic for the other player. Your program should never lose!
Work with anyone in the class, but try to make sure you get a good feel for PHP.
If you don't have PHP available on a machine you have access to, use monte.cs.rpi.edu. You already have an account on monte (you probably need to ask Dave for the password). Dave will provide some information about accounts on monte during class.
If you want to install on a Windows machine - here are the installation instructions: PHP Windows Installation .
It must play legal tic-tac-toe.
It must never lose, but doesn't need to win. (Dave's kids will be trying to beat your programs).
If this is not your first PHP program, focus on creating a system that could be easily modified, for example by making extensive use of CSS styles (like MoveableType), or by developing and using object hierarchies that could easily be modified/extended.