Built a Tic-Tac-Toe game with an unbeatable AI opponent powered by the Minimax algorithm. Play as...Built a Tic-Tac-Toe game with an unbeatable AI opponent powered by the Minimax algorithm. Play as...
The network for creativity
Join 1.25M professional creatives like you
Connect with clients, get discovered, and run your business 100% commission-free
Creatives on Contra have earned over $150M and we are just getting started
Built a Tic-Tac-Toe game with an unbeatable AI opponent powered by the Minimax algorithm. Play as X or O, choose Easy/Medium/Hard difficulty, and track your wins, losses, and draws. On Hard mode, the AI calculates every possible outcome before moving, so the best you can do is draw. Built with vanilla HTML, CSS, and JavaScript.
Post image
Back to feed
The network for creativity
Join 1.25M professional creatives like you
Connect with clients, get discovered, and run your business 100% commission-free
Creatives on Contra have earned over $150M and we are just getting started