@almadar/std 16.94.0 → 16.95.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (25) hide show
  1. package/behaviors/registry/ui/game/2d/organisms/ui-builder-board.orb +6 -270
  2. package/behaviors/registry/ui/game/2d/organisms/ui-classifier-board.orb +6 -270
  3. package/behaviors/registry/ui/game/2d/organisms/ui-debugger-board.orb +6 -270
  4. package/behaviors/registry/ui/game/2d/organisms/ui-event-handler-board.orb +7 -315
  5. package/behaviors/registry/ui/game/2d/organisms/ui-negotiator-board.orb +6 -306
  6. package/behaviors/registry/ui/game/2d/organisms/ui-sequencer-board.orb +90 -990
  7. package/behaviors/registry/ui/game/2d/organisms/ui-simulator-board.orb +7 -315
  8. package/behaviors/registry/ui/game/2d/organisms/ui-state-architect-board.orb +56 -712
  9. package/dist/behaviors/registry/ui/game/2d/organisms/ui-builder-board.orb +6 -270
  10. package/dist/behaviors/registry/ui/game/2d/organisms/ui-classifier-board.orb +6 -270
  11. package/dist/behaviors/registry/ui/game/2d/organisms/ui-debugger-board.orb +6 -270
  12. package/dist/behaviors/registry/ui/game/2d/organisms/ui-event-handler-board.orb +7 -315
  13. package/dist/behaviors/registry/ui/game/2d/organisms/ui-negotiator-board.orb +6 -306
  14. package/dist/behaviors/registry/ui/game/2d/organisms/ui-sequencer-board.orb +90 -990
  15. package/dist/behaviors/registry/ui/game/2d/organisms/ui-simulator-board.orb +7 -315
  16. package/dist/behaviors/registry/ui/game/2d/organisms/ui-state-architect-board.orb +56 -712
  17. package/dist/registry/ui/game/2d/organisms/ui-builder-board.orb +6 -270
  18. package/dist/registry/ui/game/2d/organisms/ui-classifier-board.orb +6 -270
  19. package/dist/registry/ui/game/2d/organisms/ui-debugger-board.orb +6 -270
  20. package/dist/registry/ui/game/2d/organisms/ui-event-handler-board.orb +7 -315
  21. package/dist/registry/ui/game/2d/organisms/ui-negotiator-board.orb +6 -306
  22. package/dist/registry/ui/game/2d/organisms/ui-sequencer-board.orb +90 -990
  23. package/dist/registry/ui/game/2d/organisms/ui-simulator-board.orb +7 -315
  24. package/dist/registry/ui/game/2d/organisms/ui-state-architect-board.orb +56 -712
  25. package/package.json +1 -1
@@ -837,105 +837,15 @@
837
837
  "render-ui",
838
838
  "main",
839
839
  {
840
- "children": [
841
- {
842
- "categoryColors": "@config.categoryColors",
843
- "currentStep": "@entity.currentStep",
844
- "maxSlots": "@entity.maxSlots",
845
- "slotDropEvent": "PLACE",
846
- "slotRemoveEvent": "REMOVE",
847
- "slots": [
848
- "array/map",
849
- "@entity.slots",
850
- [
851
- "fn",
852
- "s",
853
- [
854
- "array/first",
855
- [
856
- "array/filter",
857
- "@entity.availableActions",
858
- [
859
- "fn",
860
- "a",
861
- [
862
- "==",
863
- [
864
- "object/get",
865
- "a",
866
- "id"
867
- ],
868
- [
869
- "object/get",
870
- "s",
871
- "placedActionId"
872
- ]
873
- ]
874
- ]
875
- ]
876
- ]
877
- ]
878
- ],
879
- "type": "sequence-bar"
880
- },
881
- {
882
- "actions": "@entity.availableActions",
883
- "allowDuplicates": "@entity.allowDuplicates",
884
- "categoryColors": "@config.categoryColors",
885
- "label": "Actions",
886
- "type": "action-palette",
887
- "usedActionIds": [
888
- "array/map",
889
- "@entity.slots",
890
- [
891
- "fn",
892
- "s",
893
- [
894
- "object/get",
895
- "s",
896
- "placedActionId"
897
- ]
898
- ]
899
- ]
900
- }
901
- ],
902
- "hud": {
903
- "children": [
904
- {
905
- "stats": [
906
- {
907
- "label": "Attempts",
908
- "value": "@entity.attempts"
909
- }
910
- ],
911
- "type": "game-hud"
912
- },
913
- {
914
- "children": [
915
- {
916
- "action": "CHECK",
917
- "label": "Check",
918
- "type": "button",
919
- "variant": "primary"
920
- },
921
- {
922
- "action": "PLAY_AGAIN",
923
- "label": "Reset",
924
- "type": "button",
925
- "variant": "ghost"
926
- }
927
- ],
928
- "direction": "horizontal",
929
- "gap": "sm",
930
- "type": "stack"
931
- }
932
- ],
933
- "direction": "horizontal",
934
- "gap": "md",
935
- "justify": "between",
936
- "type": "stack"
937
- },
938
- "type": "game-shell"
840
+ "categoryColors": "@config.categoryColors",
841
+ "checkEvent": "CHECK",
842
+ "entity": "@entity",
843
+ "placeEvent": "PLACE",
844
+ "playAgainEvent": "PLAY_AGAIN",
845
+ "playEvent": "PLAY",
846
+ "removeEvent": "REMOVE",
847
+ "stepDurationMs": "@config.stepDurationMs",
848
+ "type": "sequencer-board"
939
849
  }
940
850
  ]
941
851
  ],
@@ -1014,105 +924,15 @@
1014
924
  "render-ui",
1015
925
  "main",
1016
926
  {
1017
- "children": [
1018
- {
1019
- "categoryColors": "@config.categoryColors",
1020
- "currentStep": "@entity.currentStep",
1021
- "maxSlots": "@entity.maxSlots",
1022
- "slotDropEvent": "PLACE",
1023
- "slotRemoveEvent": "REMOVE",
1024
- "slots": [
1025
- "array/map",
1026
- "@entity.slots",
1027
- [
1028
- "fn",
1029
- "s",
1030
- [
1031
- "array/first",
1032
- [
1033
- "array/filter",
1034
- "@entity.availableActions",
1035
- [
1036
- "fn",
1037
- "a",
1038
- [
1039
- "==",
1040
- [
1041
- "object/get",
1042
- "a",
1043
- "id"
1044
- ],
1045
- [
1046
- "object/get",
1047
- "s",
1048
- "placedActionId"
1049
- ]
1050
- ]
1051
- ]
1052
- ]
1053
- ]
1054
- ]
1055
- ],
1056
- "type": "sequence-bar"
1057
- },
1058
- {
1059
- "actions": "@entity.availableActions",
1060
- "allowDuplicates": "@entity.allowDuplicates",
1061
- "categoryColors": "@config.categoryColors",
1062
- "label": "Actions",
1063
- "type": "action-palette",
1064
- "usedActionIds": [
1065
- "array/map",
1066
- "@entity.slots",
1067
- [
1068
- "fn",
1069
- "s",
1070
- [
1071
- "object/get",
1072
- "s",
1073
- "placedActionId"
1074
- ]
1075
- ]
1076
- ]
1077
- }
1078
- ],
1079
- "hud": {
1080
- "children": [
1081
- {
1082
- "stats": [
1083
- {
1084
- "label": "Attempts",
1085
- "value": "@entity.attempts"
1086
- }
1087
- ],
1088
- "type": "game-hud"
1089
- },
1090
- {
1091
- "children": [
1092
- {
1093
- "action": "CHECK",
1094
- "label": "Check",
1095
- "type": "button",
1096
- "variant": "primary"
1097
- },
1098
- {
1099
- "action": "PLAY_AGAIN",
1100
- "label": "Reset",
1101
- "type": "button",
1102
- "variant": "ghost"
1103
- }
1104
- ],
1105
- "direction": "horizontal",
1106
- "gap": "sm",
1107
- "type": "stack"
1108
- }
1109
- ],
1110
- "direction": "horizontal",
1111
- "gap": "md",
1112
- "justify": "between",
1113
- "type": "stack"
1114
- },
1115
- "type": "game-shell"
927
+ "categoryColors": "@config.categoryColors",
928
+ "checkEvent": "CHECK",
929
+ "entity": "@entity",
930
+ "placeEvent": "PLACE",
931
+ "playAgainEvent": "PLAY_AGAIN",
932
+ "playEvent": "PLAY",
933
+ "removeEvent": "REMOVE",
934
+ "stepDurationMs": "@config.stepDurationMs",
935
+ "type": "sequencer-board"
1116
936
  }
1117
937
  ]
1118
938
  ],
@@ -1158,105 +978,15 @@
1158
978
  "render-ui",
1159
979
  "main",
1160
980
  {
1161
- "children": [
1162
- {
1163
- "categoryColors": "@config.categoryColors",
1164
- "currentStep": "@entity.currentStep",
1165
- "maxSlots": "@entity.maxSlots",
1166
- "slotDropEvent": "PLACE",
1167
- "slotRemoveEvent": "REMOVE",
1168
- "slots": [
1169
- "array/map",
1170
- "@entity.slots",
1171
- [
1172
- "fn",
1173
- "s",
1174
- [
1175
- "array/first",
1176
- [
1177
- "array/filter",
1178
- "@entity.availableActions",
1179
- [
1180
- "fn",
1181
- "a",
1182
- [
1183
- "==",
1184
- [
1185
- "object/get",
1186
- "a",
1187
- "id"
1188
- ],
1189
- [
1190
- "object/get",
1191
- "s",
1192
- "placedActionId"
1193
- ]
1194
- ]
1195
- ]
1196
- ]
1197
- ]
1198
- ]
1199
- ],
1200
- "type": "sequence-bar"
1201
- },
1202
- {
1203
- "actions": "@entity.availableActions",
1204
- "allowDuplicates": "@entity.allowDuplicates",
1205
- "categoryColors": "@config.categoryColors",
1206
- "label": "Actions",
1207
- "type": "action-palette",
1208
- "usedActionIds": [
1209
- "array/map",
1210
- "@entity.slots",
1211
- [
1212
- "fn",
1213
- "s",
1214
- [
1215
- "object/get",
1216
- "s",
1217
- "placedActionId"
1218
- ]
1219
- ]
1220
- ]
1221
- }
1222
- ],
1223
- "hud": {
1224
- "children": [
1225
- {
1226
- "stats": [
1227
- {
1228
- "label": "Attempts",
1229
- "value": "@entity.attempts"
1230
- }
1231
- ],
1232
- "type": "game-hud"
1233
- },
1234
- {
1235
- "children": [
1236
- {
1237
- "action": "CHECK",
1238
- "label": "Check",
1239
- "type": "button",
1240
- "variant": "primary"
1241
- },
1242
- {
1243
- "action": "PLAY_AGAIN",
1244
- "label": "Reset",
1245
- "type": "button",
1246
- "variant": "ghost"
1247
- }
1248
- ],
1249
- "direction": "horizontal",
1250
- "gap": "sm",
1251
- "type": "stack"
1252
- }
1253
- ],
1254
- "direction": "horizontal",
1255
- "gap": "md",
1256
- "justify": "between",
1257
- "type": "stack"
1258
- },
1259
- "type": "game-shell"
981
+ "categoryColors": "@config.categoryColors",
982
+ "checkEvent": "CHECK",
983
+ "entity": "@entity",
984
+ "placeEvent": "PLACE",
985
+ "playAgainEvent": "PLAY_AGAIN",
986
+ "playEvent": "PLAY",
987
+ "removeEvent": "REMOVE",
988
+ "stepDurationMs": "@config.stepDurationMs",
989
+ "type": "sequencer-board"
1260
990
  }
1261
991
  ]
1262
992
  ],
@@ -1302,105 +1032,15 @@
1302
1032
  "render-ui",
1303
1033
  "main",
1304
1034
  {
1305
- "children": [
1306
- {
1307
- "categoryColors": "@config.categoryColors",
1308
- "currentStep": "@entity.currentStep",
1309
- "maxSlots": "@entity.maxSlots",
1310
- "slotDropEvent": "PLACE",
1311
- "slotRemoveEvent": "REMOVE",
1312
- "slots": [
1313
- "array/map",
1314
- "@entity.slots",
1315
- [
1316
- "fn",
1317
- "s",
1318
- [
1319
- "array/first",
1320
- [
1321
- "array/filter",
1322
- "@entity.availableActions",
1323
- [
1324
- "fn",
1325
- "a",
1326
- [
1327
- "==",
1328
- [
1329
- "object/get",
1330
- "a",
1331
- "id"
1332
- ],
1333
- [
1334
- "object/get",
1335
- "s",
1336
- "placedActionId"
1337
- ]
1338
- ]
1339
- ]
1340
- ]
1341
- ]
1342
- ]
1343
- ],
1344
- "type": "sequence-bar"
1345
- },
1346
- {
1347
- "actions": "@entity.availableActions",
1348
- "allowDuplicates": "@entity.allowDuplicates",
1349
- "categoryColors": "@config.categoryColors",
1350
- "label": "Actions",
1351
- "type": "action-palette",
1352
- "usedActionIds": [
1353
- "array/map",
1354
- "@entity.slots",
1355
- [
1356
- "fn",
1357
- "s",
1358
- [
1359
- "object/get",
1360
- "s",
1361
- "placedActionId"
1362
- ]
1363
- ]
1364
- ]
1365
- }
1366
- ],
1367
- "hud": {
1368
- "children": [
1369
- {
1370
- "stats": [
1371
- {
1372
- "label": "Attempts",
1373
- "value": "@entity.attempts"
1374
- }
1375
- ],
1376
- "type": "game-hud"
1377
- },
1378
- {
1379
- "children": [
1380
- {
1381
- "action": "CHECK",
1382
- "label": "Check",
1383
- "type": "button",
1384
- "variant": "primary"
1385
- },
1386
- {
1387
- "action": "PLAY_AGAIN",
1388
- "label": "Reset",
1389
- "type": "button",
1390
- "variant": "ghost"
1391
- }
1392
- ],
1393
- "direction": "horizontal",
1394
- "gap": "sm",
1395
- "type": "stack"
1396
- }
1397
- ],
1398
- "direction": "horizontal",
1399
- "gap": "md",
1400
- "justify": "between",
1401
- "type": "stack"
1402
- },
1403
- "type": "game-shell"
1035
+ "categoryColors": "@config.categoryColors",
1036
+ "checkEvent": "CHECK",
1037
+ "entity": "@entity",
1038
+ "placeEvent": "PLACE",
1039
+ "playAgainEvent": "PLAY_AGAIN",
1040
+ "playEvent": "PLAY",
1041
+ "removeEvent": "REMOVE",
1042
+ "stepDurationMs": "@config.stepDurationMs",
1043
+ "type": "sequencer-board"
1404
1044
  }
1405
1045
  ]
1406
1046
  ],
@@ -1419,105 +1059,15 @@
1419
1059
  "render-ui",
1420
1060
  "main",
1421
1061
  {
1422
- "children": [
1423
- {
1424
- "categoryColors": "@config.categoryColors",
1425
- "currentStep": "@entity.currentStep",
1426
- "maxSlots": "@entity.maxSlots",
1427
- "slotDropEvent": "PLACE",
1428
- "slotRemoveEvent": "REMOVE",
1429
- "slots": [
1430
- "array/map",
1431
- "@entity.slots",
1432
- [
1433
- "fn",
1434
- "s",
1435
- [
1436
- "array/first",
1437
- [
1438
- "array/filter",
1439
- "@entity.availableActions",
1440
- [
1441
- "fn",
1442
- "a",
1443
- [
1444
- "==",
1445
- [
1446
- "object/get",
1447
- "a",
1448
- "id"
1449
- ],
1450
- [
1451
- "object/get",
1452
- "s",
1453
- "placedActionId"
1454
- ]
1455
- ]
1456
- ]
1457
- ]
1458
- ]
1459
- ]
1460
- ],
1461
- "type": "sequence-bar"
1462
- },
1463
- {
1464
- "actions": "@entity.availableActions",
1465
- "allowDuplicates": "@entity.allowDuplicates",
1466
- "categoryColors": "@config.categoryColors",
1467
- "label": "Actions",
1468
- "type": "action-palette",
1469
- "usedActionIds": [
1470
- "array/map",
1471
- "@entity.slots",
1472
- [
1473
- "fn",
1474
- "s",
1475
- [
1476
- "object/get",
1477
- "s",
1478
- "placedActionId"
1479
- ]
1480
- ]
1481
- ]
1482
- }
1483
- ],
1484
- "hud": {
1485
- "children": [
1486
- {
1487
- "stats": [
1488
- {
1489
- "label": "Attempts",
1490
- "value": "@entity.attempts"
1491
- }
1492
- ],
1493
- "type": "game-hud"
1494
- },
1495
- {
1496
- "children": [
1497
- {
1498
- "action": "CHECK",
1499
- "label": "Check",
1500
- "type": "button",
1501
- "variant": "primary"
1502
- },
1503
- {
1504
- "action": "PLAY_AGAIN",
1505
- "label": "Reset",
1506
- "type": "button",
1507
- "variant": "ghost"
1508
- }
1509
- ],
1510
- "direction": "horizontal",
1511
- "gap": "sm",
1512
- "type": "stack"
1513
- }
1514
- ],
1515
- "direction": "horizontal",
1516
- "gap": "md",
1517
- "justify": "between",
1518
- "type": "stack"
1519
- },
1520
- "type": "game-shell"
1062
+ "categoryColors": "@config.categoryColors",
1063
+ "checkEvent": "CHECK",
1064
+ "entity": "@entity",
1065
+ "placeEvent": "PLACE",
1066
+ "playAgainEvent": "PLAY_AGAIN",
1067
+ "playEvent": "PLAY",
1068
+ "removeEvent": "REMOVE",
1069
+ "stepDurationMs": "@config.stepDurationMs",
1070
+ "type": "sequencer-board"
1521
1071
  }
1522
1072
  ]
1523
1073
  ],
@@ -1545,105 +1095,15 @@
1545
1095
  "render-ui",
1546
1096
  "main",
1547
1097
  {
1548
- "children": [
1549
- {
1550
- "categoryColors": "@config.categoryColors",
1551
- "currentStep": "@entity.currentStep",
1552
- "maxSlots": "@entity.maxSlots",
1553
- "slotDropEvent": "PLACE",
1554
- "slotRemoveEvent": "REMOVE",
1555
- "slots": [
1556
- "array/map",
1557
- "@entity.slots",
1558
- [
1559
- "fn",
1560
- "s",
1561
- [
1562
- "array/first",
1563
- [
1564
- "array/filter",
1565
- "@entity.availableActions",
1566
- [
1567
- "fn",
1568
- "a",
1569
- [
1570
- "==",
1571
- [
1572
- "object/get",
1573
- "a",
1574
- "id"
1575
- ],
1576
- [
1577
- "object/get",
1578
- "s",
1579
- "placedActionId"
1580
- ]
1581
- ]
1582
- ]
1583
- ]
1584
- ]
1585
- ]
1586
- ],
1587
- "type": "sequence-bar"
1588
- },
1589
- {
1590
- "actions": "@entity.availableActions",
1591
- "allowDuplicates": "@entity.allowDuplicates",
1592
- "categoryColors": "@config.categoryColors",
1593
- "label": "Actions",
1594
- "type": "action-palette",
1595
- "usedActionIds": [
1596
- "array/map",
1597
- "@entity.slots",
1598
- [
1599
- "fn",
1600
- "s",
1601
- [
1602
- "object/get",
1603
- "s",
1604
- "placedActionId"
1605
- ]
1606
- ]
1607
- ]
1608
- }
1609
- ],
1610
- "hud": {
1611
- "children": [
1612
- {
1613
- "stats": [
1614
- {
1615
- "label": "Attempts",
1616
- "value": "@entity.attempts"
1617
- }
1618
- ],
1619
- "type": "game-hud"
1620
- },
1621
- {
1622
- "children": [
1623
- {
1624
- "action": "CHECK",
1625
- "label": "Check",
1626
- "type": "button",
1627
- "variant": "primary"
1628
- },
1629
- {
1630
- "action": "PLAY_AGAIN",
1631
- "label": "Reset",
1632
- "type": "button",
1633
- "variant": "ghost"
1634
- }
1635
- ],
1636
- "direction": "horizontal",
1637
- "gap": "sm",
1638
- "type": "stack"
1639
- }
1640
- ],
1641
- "direction": "horizontal",
1642
- "gap": "md",
1643
- "justify": "between",
1644
- "type": "stack"
1645
- },
1646
- "type": "game-shell"
1098
+ "categoryColors": "@config.categoryColors",
1099
+ "checkEvent": "CHECK",
1100
+ "entity": "@entity",
1101
+ "placeEvent": "PLACE",
1102
+ "playAgainEvent": "PLAY_AGAIN",
1103
+ "playEvent": "PLAY",
1104
+ "removeEvent": "REMOVE",
1105
+ "stepDurationMs": "@config.stepDurationMs",
1106
+ "type": "sequencer-board"
1647
1107
  }
1648
1108
  ]
1649
1109
  ],
@@ -1691,105 +1151,15 @@
1691
1151
  "render-ui",
1692
1152
  "main",
1693
1153
  {
1694
- "children": [
1695
- {
1696
- "categoryColors": "@config.categoryColors",
1697
- "currentStep": "@entity.currentStep",
1698
- "maxSlots": "@entity.maxSlots",
1699
- "slotDropEvent": "PLACE",
1700
- "slotRemoveEvent": "REMOVE",
1701
- "slots": [
1702
- "array/map",
1703
- "@entity.slots",
1704
- [
1705
- "fn",
1706
- "s",
1707
- [
1708
- "array/first",
1709
- [
1710
- "array/filter",
1711
- "@entity.availableActions",
1712
- [
1713
- "fn",
1714
- "a",
1715
- [
1716
- "==",
1717
- [
1718
- "object/get",
1719
- "a",
1720
- "id"
1721
- ],
1722
- [
1723
- "object/get",
1724
- "s",
1725
- "placedActionId"
1726
- ]
1727
- ]
1728
- ]
1729
- ]
1730
- ]
1731
- ]
1732
- ],
1733
- "type": "sequence-bar"
1734
- },
1735
- {
1736
- "actions": "@entity.availableActions",
1737
- "allowDuplicates": "@entity.allowDuplicates",
1738
- "categoryColors": "@config.categoryColors",
1739
- "label": "Actions",
1740
- "type": "action-palette",
1741
- "usedActionIds": [
1742
- "array/map",
1743
- "@entity.slots",
1744
- [
1745
- "fn",
1746
- "s",
1747
- [
1748
- "object/get",
1749
- "s",
1750
- "placedActionId"
1751
- ]
1752
- ]
1753
- ]
1754
- }
1755
- ],
1756
- "hud": {
1757
- "children": [
1758
- {
1759
- "stats": [
1760
- {
1761
- "label": "Attempts",
1762
- "value": "@entity.attempts"
1763
- }
1764
- ],
1765
- "type": "game-hud"
1766
- },
1767
- {
1768
- "children": [
1769
- {
1770
- "action": "CHECK",
1771
- "label": "Check",
1772
- "type": "button",
1773
- "variant": "primary"
1774
- },
1775
- {
1776
- "action": "PLAY_AGAIN",
1777
- "label": "Reset",
1778
- "type": "button",
1779
- "variant": "ghost"
1780
- }
1781
- ],
1782
- "direction": "horizontal",
1783
- "gap": "sm",
1784
- "type": "stack"
1785
- }
1786
- ],
1787
- "direction": "horizontal",
1788
- "gap": "md",
1789
- "justify": "between",
1790
- "type": "stack"
1791
- },
1792
- "type": "game-shell"
1154
+ "categoryColors": "@config.categoryColors",
1155
+ "checkEvent": "CHECK",
1156
+ "entity": "@entity",
1157
+ "placeEvent": "PLACE",
1158
+ "playAgainEvent": "PLAY_AGAIN",
1159
+ "playEvent": "PLAY",
1160
+ "removeEvent": "REMOVE",
1161
+ "stepDurationMs": "@config.stepDurationMs",
1162
+ "type": "sequencer-board"
1793
1163
  }
1794
1164
  ]
1795
1165
  ],
@@ -1808,105 +1178,15 @@
1808
1178
  "render-ui",
1809
1179
  "main",
1810
1180
  {
1811
- "children": [
1812
- {
1813
- "categoryColors": "@config.categoryColors",
1814
- "currentStep": "@entity.currentStep",
1815
- "maxSlots": "@entity.maxSlots",
1816
- "slotDropEvent": "PLACE",
1817
- "slotRemoveEvent": "REMOVE",
1818
- "slots": [
1819
- "array/map",
1820
- "@entity.slots",
1821
- [
1822
- "fn",
1823
- "s",
1824
- [
1825
- "array/first",
1826
- [
1827
- "array/filter",
1828
- "@entity.availableActions",
1829
- [
1830
- "fn",
1831
- "a",
1832
- [
1833
- "==",
1834
- [
1835
- "object/get",
1836
- "a",
1837
- "id"
1838
- ],
1839
- [
1840
- "object/get",
1841
- "s",
1842
- "placedActionId"
1843
- ]
1844
- ]
1845
- ]
1846
- ]
1847
- ]
1848
- ]
1849
- ],
1850
- "type": "sequence-bar"
1851
- },
1852
- {
1853
- "actions": "@entity.availableActions",
1854
- "allowDuplicates": "@entity.allowDuplicates",
1855
- "categoryColors": "@config.categoryColors",
1856
- "label": "Actions",
1857
- "type": "action-palette",
1858
- "usedActionIds": [
1859
- "array/map",
1860
- "@entity.slots",
1861
- [
1862
- "fn",
1863
- "s",
1864
- [
1865
- "object/get",
1866
- "s",
1867
- "placedActionId"
1868
- ]
1869
- ]
1870
- ]
1871
- }
1872
- ],
1873
- "hud": {
1874
- "children": [
1875
- {
1876
- "stats": [
1877
- {
1878
- "label": "Attempts",
1879
- "value": "@entity.attempts"
1880
- }
1881
- ],
1882
- "type": "game-hud"
1883
- },
1884
- {
1885
- "children": [
1886
- {
1887
- "action": "CHECK",
1888
- "label": "Check",
1889
- "type": "button",
1890
- "variant": "primary"
1891
- },
1892
- {
1893
- "action": "PLAY_AGAIN",
1894
- "label": "Reset",
1895
- "type": "button",
1896
- "variant": "ghost"
1897
- }
1898
- ],
1899
- "direction": "horizontal",
1900
- "gap": "sm",
1901
- "type": "stack"
1902
- }
1903
- ],
1904
- "direction": "horizontal",
1905
- "gap": "md",
1906
- "justify": "between",
1907
- "type": "stack"
1908
- },
1909
- "type": "game-shell"
1181
+ "categoryColors": "@config.categoryColors",
1182
+ "checkEvent": "CHECK",
1183
+ "entity": "@entity",
1184
+ "placeEvent": "PLACE",
1185
+ "playAgainEvent": "PLAY_AGAIN",
1186
+ "playEvent": "PLAY",
1187
+ "removeEvent": "REMOVE",
1188
+ "stepDurationMs": "@config.stepDurationMs",
1189
+ "type": "sequencer-board"
1910
1190
  }
1911
1191
  ]
1912
1192
  ],
@@ -1938,105 +1218,15 @@
1938
1218
  "render-ui",
1939
1219
  "main",
1940
1220
  {
1941
- "children": [
1942
- {
1943
- "categoryColors": "@config.categoryColors",
1944
- "currentStep": "@entity.currentStep",
1945
- "maxSlots": "@entity.maxSlots",
1946
- "slotDropEvent": "PLACE",
1947
- "slotRemoveEvent": "REMOVE",
1948
- "slots": [
1949
- "array/map",
1950
- "@entity.slots",
1951
- [
1952
- "fn",
1953
- "s",
1954
- [
1955
- "array/first",
1956
- [
1957
- "array/filter",
1958
- "@entity.availableActions",
1959
- [
1960
- "fn",
1961
- "a",
1962
- [
1963
- "==",
1964
- [
1965
- "object/get",
1966
- "a",
1967
- "id"
1968
- ],
1969
- [
1970
- "object/get",
1971
- "s",
1972
- "placedActionId"
1973
- ]
1974
- ]
1975
- ]
1976
- ]
1977
- ]
1978
- ]
1979
- ],
1980
- "type": "sequence-bar"
1981
- },
1982
- {
1983
- "actions": "@entity.availableActions",
1984
- "allowDuplicates": "@entity.allowDuplicates",
1985
- "categoryColors": "@config.categoryColors",
1986
- "label": "Actions",
1987
- "type": "action-palette",
1988
- "usedActionIds": [
1989
- "array/map",
1990
- "@entity.slots",
1991
- [
1992
- "fn",
1993
- "s",
1994
- [
1995
- "object/get",
1996
- "s",
1997
- "placedActionId"
1998
- ]
1999
- ]
2000
- ]
2001
- }
2002
- ],
2003
- "hud": {
2004
- "children": [
2005
- {
2006
- "stats": [
2007
- {
2008
- "label": "Attempts",
2009
- "value": "@entity.attempts"
2010
- }
2011
- ],
2012
- "type": "game-hud"
2013
- },
2014
- {
2015
- "children": [
2016
- {
2017
- "action": "CHECK",
2018
- "label": "Check",
2019
- "type": "button",
2020
- "variant": "primary"
2021
- },
2022
- {
2023
- "action": "PLAY_AGAIN",
2024
- "label": "Reset",
2025
- "type": "button",
2026
- "variant": "ghost"
2027
- }
2028
- ],
2029
- "direction": "horizontal",
2030
- "gap": "sm",
2031
- "type": "stack"
2032
- }
2033
- ],
2034
- "direction": "horizontal",
2035
- "gap": "md",
2036
- "justify": "between",
2037
- "type": "stack"
2038
- },
2039
- "type": "game-shell"
1221
+ "categoryColors": "@config.categoryColors",
1222
+ "checkEvent": "CHECK",
1223
+ "entity": "@entity",
1224
+ "placeEvent": "PLACE",
1225
+ "playAgainEvent": "PLAY_AGAIN",
1226
+ "playEvent": "PLAY",
1227
+ "removeEvent": "REMOVE",
1228
+ "stepDurationMs": "@config.stepDurationMs",
1229
+ "type": "sequencer-board"
2040
1230
  }
2041
1231
  ]
2042
1232
  ],
@@ -2070,105 +1260,15 @@
2070
1260
  "render-ui",
2071
1261
  "main",
2072
1262
  {
2073
- "children": [
2074
- {
2075
- "categoryColors": "@config.categoryColors",
2076
- "currentStep": "@entity.currentStep",
2077
- "maxSlots": "@entity.maxSlots",
2078
- "slotDropEvent": "PLACE",
2079
- "slotRemoveEvent": "REMOVE",
2080
- "slots": [
2081
- "array/map",
2082
- "@entity.slots",
2083
- [
2084
- "fn",
2085
- "s",
2086
- [
2087
- "array/first",
2088
- [
2089
- "array/filter",
2090
- "@entity.availableActions",
2091
- [
2092
- "fn",
2093
- "a",
2094
- [
2095
- "==",
2096
- [
2097
- "object/get",
2098
- "a",
2099
- "id"
2100
- ],
2101
- [
2102
- "object/get",
2103
- "s",
2104
- "placedActionId"
2105
- ]
2106
- ]
2107
- ]
2108
- ]
2109
- ]
2110
- ]
2111
- ],
2112
- "type": "sequence-bar"
2113
- },
2114
- {
2115
- "actions": "@entity.availableActions",
2116
- "allowDuplicates": "@entity.allowDuplicates",
2117
- "categoryColors": "@config.categoryColors",
2118
- "label": "Actions",
2119
- "type": "action-palette",
2120
- "usedActionIds": [
2121
- "array/map",
2122
- "@entity.slots",
2123
- [
2124
- "fn",
2125
- "s",
2126
- [
2127
- "object/get",
2128
- "s",
2129
- "placedActionId"
2130
- ]
2131
- ]
2132
- ]
2133
- }
2134
- ],
2135
- "hud": {
2136
- "children": [
2137
- {
2138
- "stats": [
2139
- {
2140
- "label": "Attempts",
2141
- "value": "@entity.attempts"
2142
- }
2143
- ],
2144
- "type": "game-hud"
2145
- },
2146
- {
2147
- "children": [
2148
- {
2149
- "action": "CHECK",
2150
- "label": "Check",
2151
- "type": "button",
2152
- "variant": "primary"
2153
- },
2154
- {
2155
- "action": "PLAY_AGAIN",
2156
- "label": "Reset",
2157
- "type": "button",
2158
- "variant": "ghost"
2159
- }
2160
- ],
2161
- "direction": "horizontal",
2162
- "gap": "sm",
2163
- "type": "stack"
2164
- }
2165
- ],
2166
- "direction": "horizontal",
2167
- "gap": "md",
2168
- "justify": "between",
2169
- "type": "stack"
2170
- },
2171
- "type": "game-shell"
1263
+ "categoryColors": "@config.categoryColors",
1264
+ "checkEvent": "CHECK",
1265
+ "entity": "@entity",
1266
+ "placeEvent": "PLACE",
1267
+ "playAgainEvent": "PLAY_AGAIN",
1268
+ "playEvent": "PLAY",
1269
+ "removeEvent": "REMOVE",
1270
+ "stepDurationMs": "@config.stepDurationMs",
1271
+ "type": "sequencer-board"
2172
1272
  }
2173
1273
  ]
2174
1274
  ],