Java: TicTacToe

Workshop Resources

Prerequisites (from Java: Basics)

These are the concepts from the Java: Basics workshop that we will use in this activity. Please refer to these activity to review or learn the concepts before continuing!


In this workshop, you will learn how to create a Tic-Tac-Toe program in Java from start to finish!

You will need basic Java knowledge from the workshop Java: Basics as we will assume you to know about variables, operators, classes, and arrays during the exercises.

There will also be links to the relevant Java topics on each page if you want to review a specific concept!

Golden Retriever playing tic-tac-toe with dog treats

(image created by ParkerPup:

Table of Contents

Table of Contents


The following gif shows you the program that you will create by the end of the workshop! Check it out!

Android Tic-Tac-Toe Game