fruit-box
收藏资源简介:
这是一个关于水果箱游戏的轨迹数据集。游戏中,一个智能体在固定的10x17数字板上重复选择轴对齐的矩形区域,使得矩形内数字之和等于10。选中的单元格将被清除(设置为0)。游戏没有重力或重填机制。每一步的奖励等于清除的非零单元格数量。当没有合法移动时,游戏结束。数据集包含每个步骤的ID、步数、游戏板状态、动作、合法动作数量、是否合法、奖励、是否结束等信息。
This is a trajectory dataset for the Fruit Box Game. In the game, an AI Agent repeatedly selects axis-aligned rectangular regions on a fixed 10×17 digital board such that the sum of the numbers within the rectangle equals 10. The selected cells will be cleared (set to 0). The game does not include gravity or cell refilling mechanics. The reward for each step is equal to the number of cleared non-zero cells. The game terminates when no valid moves are available. The dataset includes information such as step ID, step number, game board state, action, number of valid actions, action validity, reward, and game termination status.
数据集概述
基本信息
- 数据集名称: fruit-box
- 标签: agent
- 数据规模: 10万到100万条之间
数据来源
- 数据来自游戏"fruit box"的轨迹记录
- 游戏平台: https://en.gamesaien.com/game/fruit_box/
游戏规则
- 游戏板固定为10×17网格
- 网格中包含数字1-9
- 智能体重复选择轴对齐矩形区域
- 矩形内数字总和必须等于10
- 被选中的单元格被清除(设为0)
- 无重力机制和重新填充机制
- 每步奖励=清除的非零单元格数量
- 当无合法移动时回合结束
数据结构
json { "episode_id": "字符串", "step": "整数", "grid": "10×17数组", "action": { "c1": "整数", "c2": "整数", "r1": "整数", "r2": "整数" }, "num_legal_actions": "整数", "legal": "布尔值", "reward": "整数", "done": "布尔值", "agent_tag": "字符串", "rng_seed": "整数" }
字段说明
- episode_id: 回合标识符
- step: 步骤编号
- grid: 10行17列的游戏状态网格
- action: 动作坐标(c1,c2为列范围,r1,r2为行范围)
- num_legal_actions: 当前合法动作数量
- legal: 动作是否合法
- reward: 当前步骤奖励
- done: 回合是否结束
- agent_tag: 智能体标签
- rng_seed: 随机数种子




