grimmerk/alphago-zero-tictactoe-js
A TypeScript game framework based on AlphaZero/TensorFlow.js runs in browser to demonstrate tic-tac-toe AI game. Use a pre-trained model or train from scratch. Ported from suragnair/alpha-zero-general (Python)
This is a demonstration of an AI playing Tic-Tac-Toe using the AlphaGo Zero algorithm, running directly in your web browser. It takes the game's current state as input and predicts the optimal next move for the AI. This is ideal for anyone interested in seeing how advanced AI game-playing algorithms work in a simple, visual way.
No commits in the last 6 months.
Use this if you want to observe an AI playing Tic-Tac-Toe against itself or a human, powered by a sophisticated reinforcement learning algorithm.
Not ideal if you're looking for a general-purpose AI training framework for your own custom games or if you need to train complex AI models efficiently outside of a web browser.
Stars
40
Forks
6
Language
TypeScript
License
MIT
Category
Last pushed
Mar 07, 2025
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/ml-frameworks/grimmerk/alphago-zero-tictactoe-js"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Higher-rated alternatives
Cledersonbc/tic-tac-toe-minimax
Minimax is a AI algorithm.
LazoVelko/Tic-Tac-Toe
An unbeatable game of Tic Tac Toe.
mscroggs/MENACE
Machine Educable Noughts And Crosses Engine
GantMan/tictactoe-ai-tfjs
Train your own TensorFlow.js Tic Tac Toe
jamesq9/Tic-Tac-Toe-Machine-Learning-Using-Reinforcement-Learning
A Python Program to implement Machine Learning for the Game Tic Tac Toe (3x3) using...