FelipeMarcelino/2048-Gym

This projects aims to use reinforcement learning algorithms to play the game 2048.

32
/ 100
Emerging

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.

No License Stale 6m No Package No Dependents
Maintenance 0 / 25
Adoption 9 / 25
Maturity 8 / 25
Community 15 / 25

How are scores calculated?

Stars

88

Forks

13

Language

Python

License

Category

game-ai-solvers

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.