| EIW Fall 2003 HW4: ASP Tic-Tac-Toe Game |
| EIW Home | HW4 FAQ |
You may work with a single partner on HW#4. You may not share code in any form with anyone other than your partner! Feel free to get ideas from sample ASP code you can find on the WWW, but DO NOT submit code that you did not write. Submitting code you find on the web is a violation of the course policy on academic integrity and will result in (at a minimum) a zero for HW4 and a 2 letter grade drop for the course.
Port your Perl tic-tac-toe code to ASP (same requirements as for HW3, the only difference is that you use ASP instead of Perl).
The human user always goes first and is 'X'.
The user must be able to start a new game at any time.
You system must support multiple, simultaneous games.
Your system must not allow the user to cheat, the rules of the game must always be enforced (can't use a cell that is already taken, only one move at a time, etc).
Your system must always make a legal move (unless the game has ended in a tie after the user's move - in which case your system can't make a move).
Recognize when someone has won and send back a message indicating that the game is over (and announce who the winner is).
Do not allow moves once the game is over (unless the user starts a new game).
ASP Session variables will make this much easier than with Perl! You can store an array (or anything) in an ASP session variable.
| EIW Fall 2003 |