| { | |
| "spa": "tic-tac-toe", | |
| "id": "prevent-computer-fork", | |
| "name": "Prevent Computer Fork", | |
| "description": "Defend against the computer's fork attempt and avoid losing", | |
| "tier": "free", | |
| "environment": "{\"type\": \"url\", \"path\": \"https://dojo-spas-production.s3.us-east-1.amazonaws.com/tic-tac-toe/index.html\"}", | |
| "initial_state": "{\"board\": [\"O\", null, null, \"X\", \"X\", null, null, null, \"O\"], \"currentPlayer\": \"X\", \"winner\": null, \"gameOver\": false, \"isComputerTurn\": false}", | |
| "instructions": "{\"user_prompt\": \"The computer (O) has taken opposite corners (positions 0 and 8), and you have the center. This is a dangerous fork setup. You must defend carefully to prevent the computer from creating two winning threats at once. Play defensively to force a tie or find a way to win.\", \"success_criteria\": \"The game must NOT end with O (computer) as the winner. Either achieve a tie or win with X.\"}", | |
| "reward_function": "", | |
| "valid_target_states": "[{\"winner\": \"X\", \"gameOver\": true}, {\"winner\": null, \"gameOver\": true}]", | |
| "max_steps": 12, | |
| "timeout_seconds": 120, | |
| "metadata": "{\"category\": \"games\", \"difficulty\": \"hard\", \"action\": \"prevent_fork\", \"strategy\": \"defensive\"}" | |
| } | |