[back]

Tic Tac Toe

[2026-10-17]

Demo

Play the game at tictactoe.nrogers.me

See the source code on github

Overview

This simple tic tac toe game was coded for a school programming project. The backend is written in flask, and the frontend is html using Pico CSS. The project isn’t anything special, but I’m happy with how it turned out.

What I learned

I learned how to store game states inside of a user’s session so that keeping track of game states was simple.

I learned how to use a minimax algorithm to create an unbeatable tic tac toe bot.

I learned how to create structured tests for my modules.