Skip to content

This repo is a simple example of tic tac toe. It ueses the minimax algorithm with alpha-beta pruning to evaluate the best index on the board. Have fun playing against it!

License

Notifications You must be signed in to change notification settings

ccarmesin/tic-tac-toe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tic Tac Toe solved with the minimax algorithm

This repo is a simple example of tic tac toe. It ueses the minimax algorithm with alpha-beta pruning to evaluate the best index on the board. Have fun playing against it!

About this repo

This repository contains the logic and scripts that combine three packages:

  • Bootstrap Build responsive, mobile-first projects on the web with the world’s most popular front-end component library.

Gallery

Play against the AI:

alt text

Compare mnimax algorithm with and without alpha-beta pruning:

alt text

Install

Just download this repo and execute the index.html

Credits

Credits to Sebastian Lague

About

This repo is a simple example of tic tac toe. It ueses the minimax algorithm with alpha-beta pruning to evaluate the best index on the board. Have fun playing against it!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published