feat: add 6 more built-in patterns (Beacon, Boat, Tub, Beehive, R-pentomino, Acorn)

Extend pattern module to 10 patterns and map them to digit keys 5-0.
Update config defaults and tests.
This commit is contained in:
2026-11-08 16:18:48 +01:00
parent 844778d30f
commit ed6c9c81f3
6 changed files with 74 additions and 8 deletions
+12
View File
@@ -278,6 +278,18 @@ static void handle_key(uint32_t key, uint32_t state, xkb_keysym_t sym, uint32_t
active_tool = 2; active_rotation = 0; printf("selected block\n"); break;
case ACTION_SELECT_TOAD:
active_tool = 3; active_rotation = 0; printf("selected toad\n"); break;
case ACTION_SELECT_BEACON:
active_tool = 4; active_rotation = 0; printf("selected beacon\n"); break;
case ACTION_SELECT_BOAT:
active_tool = 5; active_rotation = 0; printf("selected boat\n"); break;
case ACTION_SELECT_TUB:
active_tool = 6; active_rotation = 0; printf("selected tub\n"); break;
case ACTION_SELECT_BEEHIVE:
active_tool = 7; active_rotation = 0; printf("selected beehive\n"); break;
case ACTION_SELECT_RPENTOMINO:
active_tool = 8; active_rotation = 0; printf("selected rpentomino\n"); break;
case ACTION_SELECT_ACORN:
active_tool = 9; active_rotation = 0; printf("selected acorn\n"); break;
case ACTION_CLEAR:
printf("clear requested\n");
break;