FelipeMarcelino/2048-Gym
This projects aims to use reinforcement learning algorithms to play the game 2048.
Implements a custom OpenAI Gym environment with DQN training via Stable Baselines, supporting dual board representations (binary and raw) and feature extraction through either CNN or MLP architectures. Training is accelerated using Numba's JIT compilation, while hyperparameter optimization is automated through Optuna's define-by-run framework. The CNN-based agent achieved the 2048 tile in 10% of test games, demonstrating superior spatial feature learning compared to MLP approaches.
No commits in the last 6 months.
Stars
88
Forks
13
Language
Python
License
—
Category
Last pushed
Nov 21, 2022
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/ml-frameworks/FelipeMarcelino/2048-Gym"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Related frameworks
Kulbear/endless-2048
[WIP] Aim to build an AI player for the 2048 game with a remarkable winning rate.
lesaun/2048-expectimax-ai
2048 game solved with Expectimax
Tugamer89/GameOfLife
A C++ implementation of John Horton Conway's Game of Life simulation using object-oriented...
qpwoeirut/2048-solver
A set of AIs for the 2048 tile-merging game. Includes an expectimax strategy that reaches 16384...
SrinidhiRaghavan/AI-2048-Puzzle
2048 puzzle using minimax algorithm