General Game Playing
General
Artificial
Intelligence

Assignment 2

  1. Copy the rulesheet and stylesheet of Tic Tac Toe from Gamemaster to your computer. Modify the two sheets to support a 4x4 version of the game. Use Standaloneopen to play a match of your game. Note that you will need to load your rulesheet and and your stylesheet into the Standalone page in order for them to be used.

  2. Invent a simple (but non-trivial) game of your own. Write a GDL rulesheet for the game. Create a Javascript stylesheet for your game. (Look at the games in Gamemaster for some examples of rulesheets and stylesheets.) Use Standaloneopen to play a match of your game. Note that you will need to load your rulesheet and and your stylesheet into the Standalone page in order for them to be used.

  3. Optional. Download a copy of of standalone.html from the Resources tab on the Class homepage. Paste the rulesheet and stylesheet for your game into the marked sections of the file. Load the page into your browser and confirm that you can play the game.