A Game Board
Draw a board for a game you invent: snakes and ladders, a maze grid, or a race track. Use loops for the rows, a variable for the square size, and a condition to colour alternate squares. Then write the rules of your game on paper.
π Ideas to take it further
- Add more rows to make a full grid, moving up between rows.
- Use a counter with if to colour every second square.
- Mark the finish square with a filled star.
- Use a variable for the square size so the whole board resizes at once.
- Draw the snakes and ladders as coloured lines between squares.
Your program