awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
suragnair avatar

suragnair/alpha-zero-general

0
View on GitHub↗
4,471 stars·1,155 forks·Jupyter Notebook·MIT·20 views

Alpha Zero General

This project is a reinforcement learning framework and game AI engine designed for training adversarial agents in two-player turn-based games. It implements a training loop that utilizes self-play and Monte Carlo Tree Search to produce neural networks capable of predicting board strength and move probabilities.

The system decouples the reinforcement learning engine from specific game rules through an abstract game logic interface, allowing for the definition of custom game rules, win conditions, and board representations. It supports integration with various deep learning frameworks to serve as policy and value functions and includes a dual-head neural network architecture to predict both expected outcomes and legal move distributions.

The framework covers a broad range of capabilities including game state encoding, model checkpoint management, and training metric tracking. It provides tools for evaluating agent performance through tournament simulations, human-agent interfaces, and a text-based protocol for connecting to external game engines.

Trained models can be exported to a JavaScript-compatible format for use in web-based deployment environments.

Features

  • Deep Learning Game AIs - A framework for training AI agents to master complex adversarial games through self-play and deep neural networks.
  • Reinforcement Learning Training Loops - Implements a complete self-play reinforcement learning loop for training adversarial agents in turn-based games.
  • Adversarial Game Engines - A flexible implementation for developing and testing neural network agents for turn-based adversarial games.
  • Training Loops - Implements a training loop that produces policy and value networks to predict board strength.
  • Game State Predictors - Provides models that predict optimal next moves and final game outcomes from a given board state.
  • Policy and Value Function Approximators - Implements neural network architectures that approximate both the board value and the action policy for game AI.
  • Monte Carlo Tree Search - Integrates Monte Carlo Tree Search to simulate future game states and select the optimal move.
  • Neural Network Training - Provides the process for iteratively updating neural network weights based on self-play simulation data.
  • Reinforcement Learning Implementations - Provides a full implementation of reinforcement learning agents for turn-based adversarial games.
  • Reinforcement Learning Research Frameworks - A comprehensive reinforcement learning research framework based on the AlphaZero architecture for adversarial AI.
  • Self-Play Training Pipelines - Utilizes a pipeline that generates game data via AI self-play to iteratively improve agent strategies.
  • Game Logic Interfaces - Provides an abstract interface to decouple game rules from the reinforcement learning engine.
  • Deep Learning Policy Frameworks - Supports the integration of various deep learning frameworks to act as policy and value function approximators.
  • Game Logic Decouplers - Provides an abstract interface to decouple reinforcement learning logic from specific game rules and mechanics.
  • Game AI Performance Benchmarking - Evaluates AI agent performance through tournament simulations and win-rate tracking against humans or baselines.
  • Game State Feature Encoding - Transforms raw game board states into numerical tensors and one-hot encoded feature planes for ML input.
  • Game Episode Evaluators - Evaluates agent performance by simulating game episodes and tracking win rates in tournaments.
  • Model Performance Evaluators - Quantifies model reliability by comparing win rates against baseline players.
  • Policy Refinement - Refines action estimates and selects optimal moves by combining MCTS with neural network evaluations.
  • Dual-Head Architectures - Implements a dual-head neural network to simultaneously predict move probabilities and game outcome values.
  • Agent Match Simulations - Matches two AI agents or a human and an AI to evaluate performance and strategy.
  • Extensible Game Logic - Allows users to integrate custom game rules and board representations by extending provided base classes.
  • Game Rule Validation - Provides mechanisms to define and validate legal moves and win conditions for adversarial turn-based games.
  • State Representations - Models turn-based environments with grid-based positioning and win conditions.
  • Reinforcement Learning - AlphaZero methodology implementation.
  • Unified Toolkits - Generic implementation of the AlphaZero algorithm for board games.

Star history

Star history chart for suragnair/alpha-zero-generalStar history chart for suragnair/alpha-zero-general

How this analysis was created: This summary and feature list were written by an AI model that read the project's README and public documentation pages. Each feature links to the documentation it came from; stars, license and language come straight from the GitHub API. The model does not read the source code, and the analysis is refreshed when the project is re-analysed. Learn more on our About page.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Open-source alternatives to Alpha Zero General

Similar open-source projects, ranked by how many features they share with Alpha Zero General.
  • tensorflow/minigotensorflow avatar

    tensorflow/minigo

    3,531View on GitHub↗

    Minigo is a TensorFlow-based reinforcement learning engine designed to master the game of Go. It functions as a comprehensive system for training neural networks to predict board policies and game outcomes, utilizing a model trainer to generate self-play data and optimize weights. The project is distinguished by its ability to perform large-scale game simulations using Kubernetes to distribute worker nodes across CPU, GPU, and TPU hardware. It employs a Monte Carlo Tree Search implementation to identify optimal moves and supports specialized hardware acceleration, including inference on Edge

    C++
    View on GitHub↗3,531
  • leelachesszero/lc0LeelaChessZero avatar

    LeelaChessZero/lc0

    2,991View on GitHub↗

    Leela Chess Zero is a deep learning game AI and neural network chess engine that uses search algorithms to determine optimal moves and evaluate game states. It functions as a UCI chess engine, implementing the Universal Chess Interface standard for compatibility with various graphical user interfaces. The system acts as a hardware-accelerated move calculator, leveraging GPU and CPU backends to accelerate neural network inference. It supports the generation and submission of self-play games to training clients to improve the strength of its neural network models. The engine provides capabilit

    C++alphazeroalphazero-inspiredchess
    View on GitHub↗2,991
  • leela-zero/leela-zeroleela-zero avatar

    leela-zero/leela-zero

    5,579View on GitHub↗

    Leela Zero is a deep learning Go engine and reinforcement learning system that implements the AlphaGo Zero approach. It utilizes deep residual convolutional networks and Monte Carlo Tree Search to determine optimal moves and analyze the game of Go. The project functions as a neural network training tool that generates data through automated self-play. It uses a supervised learning pipeline to refine network weights, allowing the system to improve its game-playing capabilities without relying on human-provided data or expert knowledge. The engine includes game scoring logic to determine winne

    C++
    View on GitHub↗5,579
  • yandexdataschool/practical_rlyandexdataschool avatar

    yandexdataschool/Practical_RL

    6,522View on GitHub↗

    Practical_RL is a comprehensive educational curriculum and course for learning to design and implement agents that solve complex decision processes. It provides a structured study program covering the fundamentals of reinforcement learning, from basic trial-and-error behavior to advanced deep reinforcement learning. The project includes specialized guides and frameworks for imitation learning based on expert demonstrations, model-based reinforcement learning using planners, and the training of recurrent neural networks to solve partially observed environments. The materials cover a broad ran

    Jupyter Notebookcourse-materialsdeep-learningdeep-reinforcement-learning
    View on GitHub↗6,522
See all 30 alternatives to Alpha Zero General→

Frequently asked questions

What does suragnair/alpha-zero-general do?

This project is a reinforcement learning framework and game AI engine designed for training adversarial agents in two-player turn-based games. It implements a training loop that utilizes self-play and Monte Carlo Tree Search to produce neural networks capable of predicting board strength and move probabilities.

What are the main features of suragnair/alpha-zero-general?

The main features of suragnair/alpha-zero-general are: Deep Learning Game AIs, Reinforcement Learning Training Loops, Adversarial Game Engines, Training Loops, Game State Predictors, Policy and Value Function Approximators, Monte Carlo Tree Search, Neural Network Training.

What are some open-source alternatives to suragnair/alpha-zero-general?

Open-source alternatives to suragnair/alpha-zero-general include: tensorflow/minigo — Minigo is a TensorFlow-based reinforcement learning engine designed to master the game of Go. It functions as a… leela-zero/leela-zero — Leela Zero is a deep learning Go engine and reinforcement learning system that implements the AlphaGo Zero approach.… leelachesszero/lc0 — Leela Chess Zero is a deep learning game AI and neural network chess engine that uses search algorithms to determine… yandexdataschool/practical_rl — Practical_RL is a comprehensive educational curriculum and course for learning to design and implement agents that… rasbt/python-machine-learning-book — This project is an educational resource providing practical code examples and implementations of machine learning… openai/baselines — Baselines is a comprehensive suite of frameworks for reinforcement learning algorithm implementation, imitation…