{"data":{"kind":"file","path":"README.md","version_id":"d27u00zga085bhizr14r0vvp","entry":{"name":"README.md","path":"README.md","is_directory":false,"size":1854,"modified_at":"2026-05-25T09:17:26.449000","content_hash":"0125fb210468904bf95ec493fab63765c097d1cb43ab773138899ba65a751a18"},"entries":[],"content":"# minesweeper\n\nPrime/Verifiers environment for Minesweeper.\n\nThe model gets one tool:\n\n```text\nplay_minesweeper(\"reveal ROW COL\")\n```\n\nThe board is shown in the initial prompt and returned after every tool call.\nBoards are generated in no-guess mode: random mine layouts are rejected until\nthe built-in logic solver can clear the board from the first reveal without\nguessing.\nMalformed commands or unrelated tool calls end the rollout with `-1` reward.\n\nThe mine count is capped so the first revealed cell and its neighbors can\nalways be mine-free. For example, a `5x5` board can have at most `16` mines.\n\nExample rollout:\n\n```text\nstatus: playing\nrows: 5 cols: 5 mines: 8 revealed_safe: 0/17\ncoords: zero-based row col\nlegend: # hidden, . clear, 1-8 adjacent mines\nlast: new game initialized\n\ncols:  0 1 2 3 4\nrow 0: # # # # #\nrow 1: # # # # #\nrow 2: # # # # #\nrow 3: # # # # #\nrow 4: # # # # #\n\ntool: play_minesweeper(\"reveal 0 0\")\n\nstatus: playing\nrows: 5 cols: 5 mines: 8 revealed_safe: 6/17\ncoords: zero-based row col\nlegend: # hidden, . clear, 1-8 adjacent mines\nlast: revealed 6 safe cell(s) from (0, 0)\n\ncols:  0 1 2 3 4\nrow 0: . . 2 # #\nrow 1: 2 2 3 # #\nrow 2: # # # # #\nrow 3: # # # # #\nrow 4: # # # # #\n\ntool: play_minesweeper(\"reveal 2 2\")\n\nstatus: playing\nrows: 5 cols: 5 mines: 8 revealed_safe: 7/17\ncoords: zero-based row col\nlegend: # hidden, . clear, 1-8 adjacent mines\nlast: revealed 1 safe cell(s) from (2, 2)\n\ncols:  0 1 2 3 4\nrow 0: . . 2 # #\nrow 1: 2 2 3 # #\nrow 2: # # 2 # #\nrow 3: # # # # #\nrow 4: # # # # #\n\ntool: play_minesweeper(\"reveal 3 0\")\n\nstatus: playing\nrows: 5 cols: 5 mines: 8 revealed_safe: 8/17\ncoords: zero-based row col\nlegend: # hidden, . clear, 1-8 adjacent mines\nlast: revealed 1 safe cell(s) from (3, 0)\n\ncols:  0 1 2 3 4\nrow 0: . . 2 # #\nrow 1: 2 2 3 # #\nrow 2: # # 2 # #\nrow 3: 2 # # # #\nrow 4: # # # # #\n```\n","encoding":"utf-8","truncated":false,"total_bytes":1854},"status":null}