λ
home posts study 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 c0dad36, deployed on Dec 26, 2024.