Commit graph

2 commits

Author SHA1 Message Date
dae5e54943
refacto: rename core to grid 2024-12-07 17:58:10 +01:00
140e75cf71
feat: implement basic grid representation
This representation allows defining a grid of cells that are marked
either as filled or empty. This usually represents the solution that the
player has to achieve.

The transpose function is a bit overkill but does the work for now.
Future optimization might be necessary.

Most nonogram puzzles are small, maybe they can live on the stack
instead of dynamically allocating [`Vec`]? Maybe use `smallvec`?
2024-12-01 22:18:48 +01:00