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