Writing Tic Tac Toe in Javascript

Jan 10, 2016

0
Writing Tic Tac Toe in Javascript

Writing Tic Tac Toe in Javascript

Posted in : AS / A Level Computer Science, News on by : laurajames
  • The A Level Computing Students were recently tasked with using Javascript to create a simple Noughts & Crosses game (or Tic-Tac-Toe) using the online editor http://jsfiddle.net.

    This was the teacher’s attempt at getting a two player game working.

    One very able student managed to create an AI version of this where the computer can actually play against you.

    Try clicking on Edit in jsfiddle to see if you can figure out the code.
    (Does anyone remember the film this image above was taken from…?)

    Leave a Reply

    Your e-mail address will not be published. Required fields are marked *