I'm on a pen and paper streak and this is the latest addition. I wasn't satisfied with the available projects for Dots and Boxes created by other Scratch users so I decided to create this one from the ground up instead of remixing another. To begin, make a selection (default is 3) and click anywhere on the backdrop. The etttoggle (Extra Turn Rule) can be set to 1 so that when a box is completed, the winner of that box DOES NOT get an extra turn. The objective is to obtain more boxes than the other color by completing the fourth side of a square; turns are taken to draw lines between two dots. The game can currently output three different grid arrangements and will detect when a box is completed and award the appropriate color the point for completing it. I also managed to code the rule to give an extra turn for completing a box. If you don't want to play with this rule, or simply want to switch what color's turn it is, clicking the same dot twice will change the turn; more simply, set the ettoggle to 1 at the start. When all lines are filled, the totals are contested and the correct winner is displayed. Click the green flag to start a new game.
A worthwhile feature I can think of adding would be higher grid capabilities (which would entail writing a pretty long mapping sequence and tweaking the detection sprite a bit to accommodate more densely packed grids. Alternate grid shapes would be a fun twist as well, If a line is already drawn and a color attempts to draw over it, nothing affecting points will change and the turn order will revert to as if that move was never made. This doesn't look aesthetically pleasing currently but functionally it will do. An issue I've noticed is that some lines appear broken, but there;s no clear pattern to when or how this occurs so I haven't been able to find how to fix it. It's possible a gap could be made such that the detector doesn't award a point properly but I haven't run into that problem yet and for now it appears to be purely an aesthetic issue.