Javascript
Validate a block placement before changing the board
A small grid puzzle is a useful exercise in defensive programming. A move should be checked against the old board before…
Oct 24, 2026 4 min read 0
A collection of thoughts, tutorials and experiences.
A small grid puzzle is a useful exercise in defensive programming. A move should be checked against the old board before…