Home
Tic-Tac-Toe
Monday, 11 June 2007

As part of my 'Introduction to programming' class (Don't laugh), I was instructed to make a version of tic-tac-toe (or noughts and crosses) in JavaScript.

It's a single player game against fairly mediocer AI player.



First move:Player uses symbol:AI intelligence:
Player X Dumb (random move)
AI O Smart (event detection)


Help:
  • Click in one of the squares to make a move
  • To change one of the preferences click on the corresponding radio button and press 'start new game'
  • The 'Dumb' AI will make a random move
  • The 'Smart' AI will detect dangerous situations winning possibilities and acts appropriately. It still only thinks one move ahead so it's not that smart.
 
< Prev   Next >