test-integration / tasks /tic-tac-toe /make-first-move.json
dzakaathif's picture
PR #9 (#9)
b87330c verified
raw
history blame contribute delete
991 Bytes
{
"spa": "tic-tac-toe",
"id": "make-first-move",
"name": "Make First Move",
"description": "Make any valid first move on an empty tic-tac-toe board",
"tier": "free",
"environment": "{\"type\": \"url\", \"path\": \"https://dojo-spas-production.s3.us-east-1.amazonaws.com/tic-tac-toe/index.html\"}",
"initial_state": "{\"board\": [null, null, null, null, null, null, null, null, null], \"currentPlayer\": \"X\", \"winner\": null, \"gameOver\": false, \"isComputerTurn\": false}",
"instructions": "{\"user_prompt\": \"Start a game of tic-tac-toe by making your first move. Click on any empty square on the board to place your X.\", \"success_criteria\": \"The board must have at least one X placed on it, indicating a successful first move.\"}",
"reward_function": "_validate_tic_tac_toe_make_first_move",
"valid_target_states": "",
"max_steps": 3,
"timeout_seconds": 30,
"metadata": "{\"category\": \"games\", \"difficulty\": \"easy\", \"action\": \"first_move\"}"
}