A tool that fetches and formats sokoban puzzles from https://sokoban.info/
- Files are output as JSON 2D arrays
- Get all the puzzles from the site in a single command
- Specify the symbols of the output
Check out ./sokoban-puzzle-fetcher -h
Inputting puzzle 5_16, outputs:
[
["π₯","π₯","π₯","π₯","π₯","π₯","π₯","π₯","π₯"],
["π₯","π₯","π²","π²","π₯","π₯","π₯","π₯","π₯"],
["π₯","π₯","π²","π²","π²","π©","π²","π²","π₯"],
["π₯","π₯","π©","π₯","π²","π₯","π²","π²","π₯"],
["π₯","π₯","π²","π²","πΏ","π²","π²","π₯","π₯"],
["π₯","π²","π²","π₯","β","π₯","π©","π₯","π₯"],
["π₯","π²","π²","π©","β","π²","π²","π₯","π₯"],
["π₯","π₯","π₯","π²","β","π²","π₯","π₯","π₯"],
["π₯","π₯","π₯","π₯","π₯","π₯","π₯","π₯","π₯"]
]
go build