Expand Glitch operations hub, cabinet authoring, deployment, and RFID support

Operator hub
- Introduce Escape Gallery branding and Glitch: the Dark Machine room views
- Add cabinet illustrations, Pac-Man marquee/gameplay artwork, and waiting states
- Add device feedback panels with RFID readings, input/output states, and stale status
- Add logged operator hardware interventions with request deduplication

Room and cabinet authoring
- Add a visual custom-PCB connection editor with per-cabinet device inventory
- Support device IDs, bindings, wiring notes, input polarity, and validation
- Add physical-room label/dimension toggles and editable doorway annotations
- Preserve doorway changes through undo, save, and revert
- Expand cabinet profiles, room layout, and Glitch scenario resources

Scenarios and gameplay
- Add per-assignment game configuration and runtime feature validation
- Add timed test wins and Frogger individual-home objectives
- Add the three-cabinet timed/score/Frogger test scenario
- Add Cabinet 1 Pac-Man RFID credits, credit sound, and CREDIT 0/1 display
- Require physical Start after an accepted scan and prevent duplicate credits

Pi hardware and deployment
- Add GPIO feedback sampling and a separate multiplexed RFID helper
- Validate reader pin ownership and input/output conflicts
- Add SSH cabinet startup and Pi desktop-session service support
- Add master packaging, site setup, SSH enrollment, and staged cabinet releases
- Verify deployment manifests and support explicit activation/status/log commands

Documentation and verification
- Consolidate the root README around the current architecture and setup workflow
- Add the complete master/Pi/RFID export and deployment walkthrough
- Document network isolation, credentials, card identification, and rollback
- Add PCB, room-editor, feedback, credit, deployment, and controller tests
- Isolate protocol tests from designer-edited cabinet configurations

Known limitations
- RFID helper compilation and physical Pi commissioning remain unverified
- Fleet provisioning does not yet configure RFID-only installations completely
- Broader Pac-Man tests retain a ghost-capture assertion failure
- Staged exports must be rebuilt and checked before deploying runtime 2.3
This commit is contained in:
Jeff Luke committed 2026-10-17 14:53:54 -07:00
1 parent 705ec31e0b
commit c1b2195834
90 files changed
+4969 -456

No files matched your search

+52 -1
View File
@@ -3,13 +3,64 @@
[ext_resource type="Resource" uid="uid://ddv64yg3h5vsi" path="res://data/cabinets/cabinet_02_hardware.tres" id="1_bfw68"]
[ext_resource type="Texture2D" uid="uid://cistuspr5bf8h" path="res://art/devices/tex_cabinet.png" id="1_lrfm7"]
[ext_resource type="Script" uid="uid://c0jj5j5loqsma" path="res://core/hardware/cabinet_profile.gd" id="2_lrfm7"]
[ext_resource type="Script" uid="uid://burui20kuayc2" path="res://core/hardware/pcb_connection.gd" id="3_xgtuu"]
[ext_resource type="Script" uid="uid://c0g0mq4b3d547" path="res://core/hardware/cabinet_pcb_config.gd" id="4_1abnh"]
[sub_resource type="Resource" id="Resource_ac1o8"]
script = ExtResource("3_xgtuu")
port_id = "J17"
device_type = "button"
device_id = "cab1_btn_red"
display_name = "Red Button"
[sub_resource type="Resource" id="Resource_gto24"]
script = ExtResource("3_xgtuu")
port_id = "J18"
device_type = "button"
device_id = "cab1_btn_grn"
display_name = "Green Button"
[sub_resource type="Resource" id="Resource_pqv68"]
script = ExtResource("3_xgtuu")
port_id = "J19"
device_type = "button"
device_id = "cab1_btn_blue"
display_name = "Blue Button"
[sub_resource type="Resource" id="Resource_33hyq"]
script = ExtResource("3_xgtuu")
port_id = "J20"
device_type = "button"
device_id = "cab1_btn_ylw"
display_name = "Yellow Btn"
[sub_resource type="Resource" id="Resource_qgibf"]
script = ExtResource("3_xgtuu")
port_id = "J2"
device_type = "rfid"
device_id = "cab1_rfid2"
display_name = "RFID Reader 2"
binding_id = "credit_inserted_p2"
[sub_resource type="Resource" id="Resource_e5qub"]
script = ExtResource("3_xgtuu")
port_id = "J1"
device_type = "rfid"
device_id = "cab1_rfid1"
display_name = "RFID Reader 1"
binding_id = "credit_inserted_p1"
[sub_resource type="Resource" id="Resource_npy45"]
script = ExtResource("4_1abnh")
connections = Array[ExtResource("3_xgtuu")]([SubResource("Resource_ac1o8"), SubResource("Resource_gto24"), SubResource("Resource_pqv68"), SubResource("Resource_33hyq"), SubResource("Resource_qgibf"), SubResource("Resource_e5qub")])
[resource]
script = ExtResource("2_lrfm7")
cabinet_id = &"cabinet_02"
display_name = "Cabinet 02"
capabilities = Array[StringName]([&"joystick_4way", &"button_1", &"start_button", &"joystick_horizontal"])
capabilities = Array[StringName]([&"joystick_horizontal", &"start_button", &"select_button", &"button_1"])
hardware_config = ExtResource("1_bfw68")
pcb_config = SubResource("Resource_npy45")
footprint_width_m = 0.9144000000000001
footprint_depth_m = 0.9144000000000001
height_m = 1.8288000000000002