Game-AI platform for MCTS, self-play, training and model evaluation
Boardgames AI Lab is a local game-AI and backend lab for Tic-Tac-Toe, Connect Four, Onitama and Chess. Java/Spring Boot models rules, PUCT/MCTS, self-play and arena evaluation, while a React/Vite interface makes games, jobs, training and model artifacts operable.
Overview
The project shows backend and AI engineering beyond classic CRUD systems: rules, state models, search algorithms, training data and a model registry have to work together reproducibly. The current version uses Java/Spring Boot for orchestration and rules, Python/PyTorch for BoardResNet training and a React/Vite operator UI, replacing the earlier Vaadin interface.
Engineering highlights
Rule models and game states for Tic-Tac-Toe, Connect Four, Onitama and Chess
PUCT/MCTS, self-play, arena evaluation and job orchestration as traceable backend components
React/Vite operator UI for games, simulations, training and model registry
BoardResNet training with Python/PyTorch, ONNX export and reproducible model artifacts
Screenshots and demos
Running Connect Four match in the React/Vite Play Studio with an MCTS agent, move log and backend-validated moves.
Dashboard for local game-AI engineering: playable games, active jobs, registered models and runtime state.
Training Lab for BoardResNet configuration, preflight, local trainer selection and reproducible initialization.
Architecture
Architecture: UI, game rules, search, self-play, training, registry and evaluation are separated as technical responsibilities.Open large diagram