make a camvas object that you can add a grid of squares. bonus points for coliring the squares randomly. to build the game aspect for H; write functionaluty using letters or numbers from a list to populate a grid with two from each list item. then record users right/wrong guesses until all matches have been found. remember: you will need a hook for the ai program to play it later on while evolving. [[update]] I have decided to use the raphael js library to make the game ui with scriptable svg code. Here is the progress I need to make a simple, static game
- generate a ui with 16 squares using rapheal js
- make each of the squares fade to 10% alpha onclick
- on click show the number/letter/image associated with the clicked square
- add functionality to only compare two squares at a time and if it is the second square see if they are the same
- keep track of the number of correct guesses and incorrect guesses
- serialize the data