Red1C3 / sokoban-puzzle-fetcher

A sokoban puzzles scrapper from (https://sokoban.info/)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

sokoban-puzzle-fetcher

A tool that fetches and formats sokoban puzzles from https://sokoban.info/

Features

  • Files are output as JSON 2D arrays
  • Get all the puzzles from the site in a single command
  • Specify the symbols of the output

Usage

Check out ./sokoban-puzzle-fetcher -h

Example

Inputting puzzle 5_16, outputs:

[
["πŸŸ₯","πŸŸ₯","πŸŸ₯","πŸŸ₯","πŸŸ₯","πŸŸ₯","πŸŸ₯","πŸŸ₯","πŸŸ₯"],
["πŸŸ₯","πŸŸ₯","πŸ”²","πŸ”²","πŸŸ₯","πŸŸ₯","πŸŸ₯","πŸŸ₯","πŸŸ₯"],
["πŸŸ₯","πŸŸ₯","πŸ”²","πŸ”²","πŸ”²","🟩","πŸ”²","πŸ”²","πŸŸ₯"],
["πŸŸ₯","πŸŸ₯","🟩","πŸŸ₯","πŸ”²","πŸŸ₯","πŸ”²","πŸ”²","πŸŸ₯"],
["πŸŸ₯","πŸŸ₯","πŸ”²","πŸ”²","😿","πŸ”²","πŸ”²","πŸŸ₯","πŸŸ₯"],
["πŸŸ₯","πŸ”²","πŸ”²","πŸŸ₯","β­•","πŸŸ₯","🟩","πŸŸ₯","πŸŸ₯"],
["πŸŸ₯","πŸ”²","πŸ”²","🟩","β­•","πŸ”²","πŸ”²","πŸŸ₯","πŸŸ₯"],
["πŸŸ₯","πŸŸ₯","πŸŸ₯","πŸ”²","β­•","πŸ”²","πŸŸ₯","πŸŸ₯","πŸŸ₯"],
["πŸŸ₯","πŸŸ₯","πŸŸ₯","πŸŸ₯","πŸŸ₯","πŸŸ₯","πŸŸ₯","πŸŸ₯","πŸŸ₯"]
]

Building

go build

License

UNLICENSE

About

A sokoban puzzles scrapper from (https://sokoban.info/)

License:The Unlicense


Languages

Language:Go 100.0%