Hiring experts in STEM, law, finance and more, with pay up to $100+/hr in some fields. Learn more →
← All projects

TicTacToe Game

Game Developer · 2023

PythonPygameMultiplayer
TicTacToe logo

Overview

A multiplayer version of the classic Tic Tac Toe game, where two players take turns placing their marks on a 3×3 grid until one of them completes a line or the board fills up. The project focused on handling game state cleanly and checking for a winner after every move.

What I did

I built the whole game on my own. Each player's moves are stored in arrays, and after every turn the game compares them against the possible winning combinations to decide whether there is a winner, a draw, or whether play continues. I also handled turn switching and blocked moves on squares that were already taken and added a new game option after a game is decided.

Demo