Build a board, then click tiles to toggle.
You learn to generate and rebuild boards for any size cleanly (no leftover DOM).
Open the code and try the variant ideas listed in comments near the bottom.