Sudoku
The rules run in your browser; the answer stays on the server.
Click a cell and type a digit. A digit that repeats in its row, column or box turns red.
Where each part runs
| browser | clashes and peers from Rules.rakumod, on every keystroke; the clock; the highlighting; noticing that a full grid with no clashes is solved |
| server | make-puzzle and solve-grid from Solver.rakumod, behind new-puzzle, hint and check; the count of puzzles solved |
One file, sudoku.raku, is both. The four subs marked is server keep their bodies on the server, and the browser calls them over HTTP. Solver.rakumod is not in the browser’s script at all, so neither is any way to the solution.