dzakaathif's picture
PR #9 (#9)
b87330c verified
{
"spa": "tic-tac-toe",
"id": "tie-game",
"name": "Tie Tic-Tac-Toe Game",
"description": "Achieve a tie in tic-tac-toe by filling the board without either player getting three in a row",
"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\", \"O\", \"X\", \"X\", \"X\", null, \"O\", \"O\", null], \"currentPlayer\": \"X\", \"winner\": null, \"gameOver\": false, \"isComputerTurn\": false}",
"instructions": "{\"user_prompt\": \"Play tic-tac-toe and achieve a tie game by strategically placing your X's to prevent both you and the computer from getting three in a row. The board should fill completely with no winner.\", \"success_criteria\": \"The game must end in a tie with no winner, indicated by the message 'It's a tie!' appearing on screen and the board being completely filled.\"}",
"reward_function": "",
"valid_target_states": "[{\"winner\": null, \"gameOver\": true}]",
"max_steps": 15,
"timeout_seconds": 180,
"metadata": "{\"category\": \"games\", \"difficulty\": \"hard\", \"player\": \"X\", \"opponent\": \"computer\", \"strategy\": \"defensive\"}"
}