λ
home posts uses projects

Tic-Tac-Toe Solver

Aug 12, 2020

tic-tac-toe game-theory minimax raylib

This is a tic-tac-toe implementation in Go & Raylib, as well as a minimax & alpha-beta pruning solver. The solver will always play the most optimal turn, making it impossible to beat.

tic-tac-toe-win.gif

At best, you can draw it:

tic-tac-toe-draw.gif

You can check the source code here

LλBS

All systems up and running

Commit bbfd157, deployed on Jun 17, 2024.