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
507 lines
8.6 KiB
JSON
507 lines
8.6 KiB
JSON
{
|
|
"cabinets": {
|
|
"cabinet_01": {
|
|
"actions": [
|
|
"coin_slot_1",
|
|
"lock_released"
|
|
],
|
|
"capabilities": [
|
|
"joystick_4way",
|
|
"start_button",
|
|
"select_button"
|
|
],
|
|
"devices": [
|
|
{
|
|
"id": "cab1_btn_red",
|
|
"kind": "input",
|
|
"name": "Red Button",
|
|
"port": "J17",
|
|
"pull_up": true
|
|
},
|
|
{
|
|
"id": "cab1_btn_grn",
|
|
"kind": "input",
|
|
"name": "Green Button",
|
|
"port": "J18",
|
|
"pull_up": true
|
|
},
|
|
{
|
|
"id": "cab1_btn_blue",
|
|
"kind": "input",
|
|
"name": "Blue Button",
|
|
"port": "J19",
|
|
"pull_up": true
|
|
},
|
|
{
|
|
"id": "cab1_btn_ylw",
|
|
"kind": "input",
|
|
"name": "Yellow Btn",
|
|
"port": "J20",
|
|
"pull_up": true
|
|
},
|
|
{
|
|
"id": "cab1_rfid2",
|
|
"kind": "rfid",
|
|
"name": "RFID Reader 2",
|
|
"port": "J2",
|
|
"pull_up": true
|
|
},
|
|
{
|
|
"id": "cab1_rfid1",
|
|
"kind": "rfid",
|
|
"name": "RFID Reader 1",
|
|
"port": "J1",
|
|
"pull_up": true
|
|
}
|
|
],
|
|
"name": "Cabinet 01",
|
|
"position": [
|
|
-6.55779981613159,
|
|
1.98219990730286
|
|
]
|
|
},
|
|
"cabinet_02": {
|
|
"actions": [
|
|
"coin_release",
|
|
"lock_released"
|
|
],
|
|
"capabilities": [
|
|
"joystick_horizontal",
|
|
"start_button",
|
|
"select_button",
|
|
"button_1"
|
|
],
|
|
"devices": [
|
|
{
|
|
"id": "cab1_btn_red",
|
|
"kind": "input",
|
|
"name": "Red Button",
|
|
"port": "J17",
|
|
"pull_up": true
|
|
},
|
|
{
|
|
"id": "cab1_btn_grn",
|
|
"kind": "input",
|
|
"name": "Green Button",
|
|
"port": "J18",
|
|
"pull_up": true
|
|
},
|
|
{
|
|
"id": "cab1_btn_blue",
|
|
"kind": "input",
|
|
"name": "Blue Button",
|
|
"port": "J19",
|
|
"pull_up": true
|
|
},
|
|
{
|
|
"id": "cab1_btn_ylw",
|
|
"kind": "input",
|
|
"name": "Yellow Btn",
|
|
"port": "J20",
|
|
"pull_up": true
|
|
},
|
|
{
|
|
"id": "cab1_rfid2",
|
|
"kind": "rfid",
|
|
"name": "RFID Reader 2",
|
|
"port": "J2",
|
|
"pull_up": true
|
|
},
|
|
{
|
|
"id": "cab1_rfid1",
|
|
"kind": "rfid",
|
|
"name": "RFID Reader 1",
|
|
"port": "J1",
|
|
"pull_up": true
|
|
}
|
|
],
|
|
"name": "Cabinet 02",
|
|
"position": [
|
|
-2.89779996871948,
|
|
1.98219990730286
|
|
]
|
|
},
|
|
"cabinet_03": {
|
|
"actions": [
|
|
"coin_slot_1",
|
|
"lock_released"
|
|
],
|
|
"capabilities": [
|
|
"spinner",
|
|
"button_1",
|
|
"start_button",
|
|
"select_button"
|
|
],
|
|
"devices": [],
|
|
"name": "Cabinet 03",
|
|
"position": [
|
|
-2.89779996871948,
|
|
3.20219993591309
|
|
]
|
|
},
|
|
"cabinet_04": {
|
|
"actions": [
|
|
"coin_slot_1",
|
|
"lock_released"
|
|
],
|
|
"capabilities": [
|
|
"roller",
|
|
"button_1",
|
|
"button_2",
|
|
"button_3",
|
|
"select_button",
|
|
"start_button"
|
|
],
|
|
"devices": [],
|
|
"name": "Cabinet 4",
|
|
"position": [
|
|
-6.55779981613159,
|
|
3.20219993591309
|
|
]
|
|
}
|
|
},
|
|
"games": {
|
|
"frogger": {
|
|
"alternatives": [],
|
|
"name": "Frogger",
|
|
"requirements": [
|
|
"joystick_4way",
|
|
"start_button"
|
|
]
|
|
},
|
|
"galaga": {
|
|
"alternatives": [],
|
|
"name": "Galaga",
|
|
"requirements": [
|
|
"joystick_horizontal",
|
|
"button_1",
|
|
"start_button"
|
|
]
|
|
},
|
|
"missile_command": {
|
|
"alternatives": [],
|
|
"name": "Missile Command",
|
|
"requirements": [
|
|
"trackball",
|
|
"button_1",
|
|
"button_2",
|
|
"button_3",
|
|
"start_button"
|
|
]
|
|
},
|
|
"pacman": {
|
|
"alternatives": [],
|
|
"name": "Pac-Man",
|
|
"requirements": [
|
|
"joystick_4way",
|
|
"start_button"
|
|
]
|
|
},
|
|
"robotron": {
|
|
"alternatives": [
|
|
[
|
|
"dual_joystick_8way"
|
|
],
|
|
[
|
|
"joystick_8way",
|
|
"button_1",
|
|
"button_2",
|
|
"button_3",
|
|
"button_4"
|
|
]
|
|
],
|
|
"name": "Robotron 2084",
|
|
"requirements": [
|
|
"start_button"
|
|
]
|
|
},
|
|
"space_invaders": {
|
|
"alternatives": [],
|
|
"name": "Space Invaders",
|
|
"requirements": [
|
|
"joystick_horizontal",
|
|
"button_1",
|
|
"start_button"
|
|
]
|
|
},
|
|
"tempest": {
|
|
"alternatives": [
|
|
[
|
|
"joystick_horizontal"
|
|
],
|
|
[
|
|
"spinner"
|
|
],
|
|
[
|
|
"trackball"
|
|
]
|
|
],
|
|
"name": "Tempest",
|
|
"requirements": [
|
|
"button_1",
|
|
"button_2",
|
|
"start_button"
|
|
]
|
|
}
|
|
},
|
|
"layout": {
|
|
"boundary": [
|
|
[
|
|
-7.31519985198975,
|
|
-0.609600007534027
|
|
],
|
|
[
|
|
-2.13359999656677,
|
|
-0.609600007534027
|
|
],
|
|
[
|
|
-2.13359999656677,
|
|
7.61999988555908
|
|
],
|
|
[
|
|
-7.31519985198975,
|
|
7.61999988555908
|
|
]
|
|
],
|
|
"devices": [
|
|
{
|
|
"id": "coin_release_a",
|
|
"name": "Coin Release A",
|
|
"position": [
|
|
-6.0149998664856,
|
|
0.555000007152557
|
|
]
|
|
},
|
|
{
|
|
"id": "coin_release_b",
|
|
"name": "Coin Release B",
|
|
"position": [
|
|
-3.57996416091919,
|
|
0.568386673927307
|
|
]
|
|
},
|
|
{
|
|
"id": "light_a",
|
|
"name": "Light A",
|
|
"position": [
|
|
-6.46999979019165,
|
|
0.560000002384186
|
|
]
|
|
},
|
|
{
|
|
"id": "light_b",
|
|
"name": "Light B",
|
|
"position": [
|
|
-4.0322380065918,
|
|
0.576531648635864
|
|
]
|
|
},
|
|
{
|
|
"id": "glitch_code",
|
|
"name": "Glitch Code",
|
|
"position": [
|
|
-2.75500297546387,
|
|
1.51234555244446
|
|
]
|
|
}
|
|
],
|
|
"walls": [
|
|
[
|
|
[
|
|
-7.01039981842041,
|
|
-0.304800003767014
|
|
],
|
|
[
|
|
-2.43840003013611,
|
|
-0.304800003767014
|
|
]
|
|
],
|
|
[
|
|
[
|
|
-2.43840003013611,
|
|
-0.304800003767014
|
|
],
|
|
[
|
|
-2.43840003013611,
|
|
7.31519985198975
|
|
]
|
|
],
|
|
[
|
|
[
|
|
-2.43840003013611,
|
|
7.31519985198975
|
|
],
|
|
[
|
|
-7.01039981842041,
|
|
7.31519985198975
|
|
]
|
|
],
|
|
[
|
|
[
|
|
-7.01039981842041,
|
|
7.31519985198975
|
|
],
|
|
[
|
|
-7.01039981842041,
|
|
-0.304800003767014
|
|
]
|
|
]
|
|
]
|
|
},
|
|
"scenarios": {
|
|
"cabinet_chain_test": {
|
|
"assignments": [
|
|
{
|
|
"activate_after_win": "",
|
|
"cabinet": "cabinet_01",
|
|
"game": "pacman",
|
|
"game_config": {},
|
|
"mappings": {},
|
|
"variant": "standard"
|
|
},
|
|
{
|
|
"activate_after_win": "cabinet_01",
|
|
"cabinet": "cabinet_02",
|
|
"game": "galaga",
|
|
"game_config": {},
|
|
"mappings": {},
|
|
"variant": "standard"
|
|
}
|
|
],
|
|
"name": "Cabinet 1 -> Cabinet 2"
|
|
},
|
|
"eg_glitch": {
|
|
"assignments": [
|
|
{
|
|
"activate_after_win": "",
|
|
"cabinet": "cabinet_01",
|
|
"game": "pacman",
|
|
"game_config": {},
|
|
"mappings": {},
|
|
"variant": "standard"
|
|
},
|
|
{
|
|
"activate_after_win": "",
|
|
"cabinet": "cabinet_02",
|
|
"game": "galaga",
|
|
"game_config": {},
|
|
"mappings": {},
|
|
"variant": "standard"
|
|
},
|
|
{
|
|
"activate_after_win": "",
|
|
"cabinet": "cabinet_03",
|
|
"game": "tempest",
|
|
"game_config": {},
|
|
"mappings": {},
|
|
"variant": "standard"
|
|
},
|
|
{
|
|
"activate_after_win": "",
|
|
"cabinet": "cabinet_04",
|
|
"game": "missile_command",
|
|
"game_config": {},
|
|
"mappings": {},
|
|
"variant": "standard"
|
|
}
|
|
],
|
|
"name": "Glitch: The Dark Machine"
|
|
},
|
|
"pacman_rfid_credit_test": {
|
|
"assignments": [
|
|
{
|
|
"activate_after_win": "",
|
|
"cabinet": "cabinet_01",
|
|
"game": "pacman",
|
|
"game_config": {
|
|
"boards_to_win": 1,
|
|
"rfid_allowed_uids": [],
|
|
"rfid_credit_device": "cab1_rfid1",
|
|
"score_to_win": 0
|
|
},
|
|
"mappings": {},
|
|
"variant": "standard"
|
|
}
|
|
],
|
|
"name": "Cabinet 1: Pac-Man RFID credit"
|
|
},
|
|
"three_cabinet_objective_test": {
|
|
"assignments": [
|
|
{
|
|
"activate_after_win": "",
|
|
"cabinet": "cabinet_01",
|
|
"game": "pacman",
|
|
"game_config": {
|
|
"boards_to_win": 0,
|
|
"score_to_win": 0,
|
|
"test_auto_win_seconds": 5.0
|
|
},
|
|
"mappings": {},
|
|
"variant": "standard"
|
|
},
|
|
{
|
|
"activate_after_win": "cabinet_01",
|
|
"cabinet": "cabinet_02",
|
|
"game": "galaga",
|
|
"game_config": {
|
|
"score_to_win": 500,
|
|
"stages_to_win": 0
|
|
},
|
|
"mappings": {},
|
|
"variant": "standard"
|
|
},
|
|
{
|
|
"activate_after_win": "cabinet_02",
|
|
"cabinet": "cabinet_03",
|
|
"game": "frogger",
|
|
"game_config": {
|
|
"boards_to_win": 0,
|
|
"homes_to_win": 1
|
|
},
|
|
"mappings": {},
|
|
"variant": "standard"
|
|
}
|
|
],
|
|
"name": "3-Cabinet Test: 5 seconds / 500 points / 1 frog"
|
|
},
|
|
"two_cabinet_test": {
|
|
"assignments": [
|
|
{
|
|
"activate_after_win": "",
|
|
"cabinet": "cabinet_01",
|
|
"game": "pacman",
|
|
"game_config": {},
|
|
"mappings": {
|
|
"game_started": [
|
|
"start_light"
|
|
],
|
|
"game_won": [
|
|
"coin_release"
|
|
]
|
|
},
|
|
"variant": "standard"
|
|
},
|
|
{
|
|
"activate_after_win": "",
|
|
"cabinet": "cabinet_02",
|
|
"game": "galaga",
|
|
"game_config": {},
|
|
"mappings": {
|
|
"game_activated": [
|
|
"glitch_code"
|
|
],
|
|
"game_started": [
|
|
"start_light"
|
|
],
|
|
"game_won": [
|
|
"coin_release"
|
|
]
|
|
},
|
|
"variant": "standard"
|
|
}
|
|
],
|
|
"name": "Two Cabinet Test"
|
|
}
|
|
},
|
|
"version": 1
|
|
} |