Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

How did you come to build this collection? They're all in different sections...


You can download all the nonogram clues by iterating through https://pixelogic-5x5-puzzles.storage.googleapis.com/clues/c... to https://pixelogic-5x5-puzzles.storage.googleapis.com/clues/c.... Each file has 250 lines (except for the last one which has 11 lines) and each line has five bytes which are base64 encoded.

Each nibble (four bits) in those five bytes is a row or column of the board, top to bottom then left to right, encoded as:

    0: 0
    1: 1
    2: 1 1
    3: 1 1 1
    4: 1 2
    5: 1 3
    6: 2
    7: 2 1
    8: 2 2
    9: 3
    a: 3 1
    b: 4
    c: 5
If you concatenate all the clues_*.txt files, in order, to a single file, you can search through it to get the number of a pattern using standard tools, e.g.

    $ grep -n $(echo c222c c222c | xxd -ps -r | base64) clues.txt 
    452085:wiLMIiw=
Which is the nonogram at https://pixelogic.app/every-5x5-nonogram#452085.

I have uploaded and archived a copy of that combined clues.txt file at https://web.archive.org/web/20250604215009id_/https://litter..., to help anyone else who would like to explore this without having to download those tens of thousands of files.


I don't want to ruin the game for the community so will hold off on saying too much. I will say this- this game is very well designed so it's pretty straightforward to understand how it works without using anything more than the network tab of chrome :). No js, frontend puppeteering, etc. are needed. I might write it up when the game is close to completion!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: