In a previous lab, we used a repeat block to avoid duplicating code. Similarly, we can use a custom block to avoid duplicating code. Below is some code to draw a tic-tac-toe board. Your goal is to create blocks that make this code simpler.

Tic-Tac-Toe Board Drawer

Some things to remember:

Use this Snap! project, duplicate of the image above, to get started.