ICT Learning Centre

Please find below the code for a simple tic-tac-toe game written using javascript. Copy and paste the code sample below into a HTML file to see it in action. In the next tutorial we will examine in detail the code to see what exactly is happening.