File size: 3,716 Bytes
b151d4e 805c375 061ed1d 805c375 8a4282c 805c375 59c9b38 805c375 061ed1d 805c375 061ed1d 805c375 061ed1d 805c375 061ed1d 805c375 061ed1d 805c375 061ed1d 805c375 061ed1d 805c375 061ed1d 805c375 061ed1d 805c375 061ed1d 805c375 8a4282c 061ed1d 805c375 8a4282c 061ed1d 805c375 8a4282c 805c375 8a4282c 805c375 8a4282c 805c375 061ed1d 8a4282c 061ed1d 805c375 8a4282c 061ed1d 805c375 061ed1d 805c375 061ed1d 805c375 061ed1d 805c375 061ed1d 8a4282c 061ed1d 805c375 061ed1d 783a38b 805c375 061ed1d | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 |
```yaml
license: mit
task_categories:
- zero-shot-classification
language:
- en
pretty_name: Game 2048 Board-Move Pairs
size_categories:
- 100M<n<1B
```
# π§ Game 2048 Board-Move Pairs Dataset
A high-quality dataset of **25M+ board-move pairs** collected from **1,570 full games** of the classic puzzle game [**2048**](https://en.wikipedia.org/wiki/2048_%28video_game%29). This dataset was designed for training and evaluating AI agents, particularly in supervised or imitation learning scenarios.
The board states were generated using **search-based AI agents** (not neural networks), leveraging heuristics and expectimax-style algorithms. To reach top scores, the collection process also involved **manual strategy switching** and **UNDO-based corrections**.
---
## π Dataset Overview
| Item | Value |
| ---------------------- | -------------------------------------------- |
| Total Games | 1,570 |
| Total Board-Move Pairs | 25,153,774 |
| Highest Score Recorded | 3,766,860 |
| Avg Moves per Game | \~16,022 |
| Collection Time | \~1 Week |
| Devices Used | 2Γ M1 MacBook Air<br>1Γ Intel i5 MacBook Air |
> β οΈ *The final board in each game contains no move β only a board snapshot with `_` as placeholder.*
---
## π Game Statistics (1570 Files)
| Metric | Steps (Moves) | Score |
| ------ | ------------- | ---------- |
| Min | 1,587 | 31,260 |
| Max | 29,774 | 839,912 |
| Mean | 16,022.51 | 432,174.94 |
| Median | 14,875 | 387,152 |
| StdDev | 5,529.86 | 169,184.62 |
---
## π§Ύ File Format (Standard Games)
Each game is stored as a standalone `.csv`-like file, readable by both humans and programs. Format per move:
```
# 4Γ4 Board (4 rows)
0, 0, 0, 0
0, 0, 0, 0
0, 2, 0, 0
0, 0, 4, 0
# Metadata
1, 0, up, β
```
* 4 rows = board state
* 5th row = `step_index, cumulative_score, move_name, arrow`
* Final row uses `_` and no move:
`14943, 387388, _, _`
---
## π
High Score Records (`/records` Folder)
Games with scores exceeding **3 million** are included as flattened vectors:
```
25508, 32, 32, 4, 2, 512, 256, 2, 0, 16384, 2048, 0, 0, 32768, 4096, 0, 2, up, 733188
```
* Format:
`step_index, board[0..15], move, score`
* One row per move
* Split into files of 100 moves each
* Final score row example:
`114499, ..., down, 3766860`
These records include:
* UNDO usage for recovery
* Strategy switching between agents
* Some human-curated decision making
---
## π‘ Use Cases
| Task | Application |
| ------------------------------ | ------------------------------------------------------- |
| Supervised Learning | Train a model to choose the best move for a given board |
| Offline Reinforcement Learning | Imitation learning from expert trajectories |
| AI Benchmarking | Compare heuristic vs ML agents |
| Data Compression Research | Encode 2048 boards efficiently |
| Curriculum Learning | Study learning from low to high score trajectories |
---
## π Resources
* π **GitHub Repository**: [DeeperGame/2048AI](https://github.com/DeeperGame/2048AI)
* π¬ Based on [nneonneo/2048-ai](https://github.com/nneonneo/2048-ai) (used for baseline agents)
* π§ No neural nets used in generation β this dataset is ready to train one
|