Tic Tac Toe

The classic strategy game, AKA Noughts and Crosses.

In this version you have to beat the computer which has it’s own artificial intelligence.

Starter Code Files

Download “Starter Python File: Tic Tac Toe” File size: 642 B


Download and unzip this starter code file to your Tic Tac Toe project folder

Images and Audio

Download “Images and audio for Tic Tac Toe” File size: 23 KB


Download and unzip these image and audio files to your Tic Tac Toe project folder

Book of Code

Download “Book of Code: Tic Tac Toe” File size: 526 KB


Copy the Tic Tac Toe program from the Book of Code into your Python IDE

Like this project?

Tic Tac Toe is available completely free, so if you like it, why not…

Buy us a coffeeBuy me a coffee

Video Tutorials

1. String Concatenation

Watch First:Alien Invasion Strings

Difficulty: 2

2. Displaying Text

Watch first: Alien Invasion Coordinates

Difficulty: 3

3. Parameter Passing 2

Watch first: Alien Invasion Parameter Passing

Difficulty: 5

4. 2D Lists

Watch first: Golf Hole Strokes List

Difficulty: 5

5. Nested Loops

Watch first: Golf For Loop

Difficulty: 5

6. Conditional While Loops

Watch First: Golf For Loop

Difficulty: 4

7. Tic Tac Toe Game Design

Watch First: Golf Move Ball Logic

Difficulty: 3

8. Computer Turn Logic

Watch first: Tic Tac Toe Game Design

Difficulty: 5

9. Winning Line Logic

Watch first: Tic Tac Toe 2D Lists

Difficulty: 5

Like this project?

Tic Tac Toe is available completely free, so if you like it, why not…

Buy us a coffeeBuy me a coffee