Features
- Different types (3x3, 2x4, 3x6 etc)
- Numbers or letters
- Many variations (seed)
How it works
- Generate complete grid
- Remove a block, use solver to check if it's still valid, repeat until isn't.
- Draw
What I learned
This was fun. I made some mistakes. First, I thought it would be possible to generate random numbers in a grid, hoping it would yield valid. Second, I assumed it would be possible to randomly remove some cells from a valid grid, and it would be still solvable for users. I ended up needing a simple solver.
#game
Log in to post a comment.
const turtle = new Turtle();const text = new Text();