HF RL Explorer

minesweeper board: fix bug

minesweeper board: fix bug: a task in smol-software-harbor (Harbor dataset). The minesweeper hints count mines from the opposite edge of the board: neighbours() in mines.py lets negative indexes wrap around (Python lists accept grid -1 ). Only cells inside the board may be counted. Fix it and run…

The task

The minesweeper hints count mines from the opposite edge of the board: `neighbours()` in `mines.py` lets negative indexes wrap around (Python lists accept `grid[-1]`). Only cells inside the board may be counted. Fix it and run `python3 -m pytest -q`.

Part of efederici/smol-software-harbor.