Noughts and Crosses

Some games can be played perfectly even by simple computers; noughts-and-crosses is one of them.

How it Works

Play against the “computer” in a game of noughts-and-crosses!

Things to Try or Ask Around the Exhibit

  • Try different strategies! Is there any way you can win?
  • What is the computer's strategy?

Background

Conditional logic, the kind of logic used in this program, forms the foundation for many more complicated algorithms.

Finding the Science in Your World

Conditional statements are used to tell computers how to do a huge number of things, from when to capitalise a letter to which route a GPS should take.