```yaml license: mit task_categories: - zero-shot-classification language: - en pretty_name: Game 2048 Board-Move Pairs size_categories: - 100M1ร— 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