ireade / tictactoe

A simple JS and jQuery game of tic tac toe

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

tictactoe

Thsi si a simple game of tic tac toe that I created my javascript/jquery skills. Most of the games I have seen online require two players, and I wanted to try creating a game where one player plays against the computer.

Play the game here

It works well enough at the moment, but I will like to eventually improve the game in a few ways:

  • Make the compuer (playing as O) smarter. At the moment the computer randomly chooses a square to play, not trying to get a win.
  • Add a win counter
  • Allow the human to choose whether to play as X or O
  • Have the computer make funny remarks with each play/win

About

A simple JS and jQuery game of tic tac toe


Languages

Language:JavaScript 77.8%Language:HTML 22.2%