test-integration / tasks /2048 /get-2048.json
dzakaathif's picture
PR #9 (#9)
b87330c verified
raw
history blame contribute delete
781 Bytes
{
"spa": "2048",
"id": "get-2048",
"name": "Get 2048 in one move",
"description": "Make the next move to score 2048.",
"tier": "free",
"environment": "{\"type\": \"url\", \"path\": \"https://dojo-spas-production.s3.us-east-1.amazonaws.com/2048/index.html\"}",
"initial_state": "{\"board\": [0, 0, 0, 0, 0, 1024, 0, 1024, 0, 0, 0, 0, 0, 0, 0, 0], \"gameOver\": false, \"gameInitialized\": true}",
"instructions": "{\"user_prompt\": \"Play 2048 and make the next move that would cause a 2048 tile to appear.\", \"success_criteria\": \"The game board must contain a 2048 tile.\"}",
"reward_function": "_validate_get_2048",
"valid_target_states": "",
"max_steps": 2,
"timeout_seconds": 120,
"metadata": "{\"category\": \"games\", \"difficulty\": \"easy\"}"
}