| { | |
| "spa": "tic-tac-toe", | |
| "id": "force-computer-mistake", | |
| "name": "Force Computer Into Fork", | |
| "description": "Create a fork position with two ways to win, forcing the computer into an unwinnable situation", | |
| "tier": "free", | |
| "environment": "{\"type\": \"url\", \"path\": \"https://dojo-spas-production.s3.us-east-1.amazonaws.com/tic-tac-toe/index.html\"}", | |
| "initial_state": "{\"board\": [\"X\", null, null, null, \"O\", null, \"O\", null, \"X\"], \"currentPlayer\": \"X\", \"winner\": null, \"gameOver\": false, \"isComputerTurn\": false}", | |
| "instructions": "{\"user_prompt\": \"You have X's in opposite corners (positions 0 and 8), and O is in the center. Create a fork by placing your next X strategically to set up two possible winning lines. The computer won't be able to block both, guaranteeing your victory.\", \"success_criteria\": \"The game must end with X as the winner by creating and exploiting a fork position.\"}", | |
| "reward_function": "", | |
| "valid_target_states": "[{\"winner\": \"X\", \"gameOver\": true}]", | |
| "max_steps": 8, | |
| "timeout_seconds": 90, | |
| "metadata": "{\"category\": \"games\", \"difficulty\": \"medium\", \"action\": \"fork_strategy\", \"strategy\": \"offensive\"}" | |
| } | |