ADVC is a simple puzzle game where users solve sequences by entering for buttons, ▲ ▶ ▼ ◀. Additional symbols add complexity to the riddles. After solving puzzles, a bit of text can be displayed to give an overarching story.
- [▲] [▼] [◀] [▶] [▶]
- [▼] [▼] [▲] [▲] [▶]
Rätselconfig: { initText: "Lorem Ipsum", sorting: "3124", maxInputs: 10, rows: [ ["UP", "DOWN", "LEFT", "RIGHT"], ["DOWN", "DOWN", "UP", "UP", "RIGHT"] ], solution: "UPDOWNLEFTRIGHTUPUPDOWN" }
Possible values:
- UP
- DOWN
- LEFT
- RIGHT
- BACK: -1 to row iterator, last value has to be entered twice
- FORWARD: +1 to row iterator, next value is skipped
Im Frontend können später noch die Reihenfolgen der Reihen vertauscht werden, um das Spiel zusätzlich zu erschweren:
- [▼] [▼] [▲] [▲] [▶]
- [▲] [▼] [◀] [▶] [R]
Später viellei 5A46 cht Await = auf reihe warten, werte transformieren z.b. UP zu RIGHT
Um das Rätsel zu lösen, läuft das Löseprogramm über die Reihen. Bei jedem arrayzugriff wird der iterator für die Reihe erhöht. D.h. werden bei drei Reihen die Werte wie folgt ausgelesen:
Array1: 0, Array2: 0, Array3: 0, Array1: 1, Array2: 1, Array3: 1, Array1: 2, Array2: 2 ...
Das macht das Löseprogramm so lange, bis die benötigtw Anzahl an Zeichen erreicht wurde.
Löseprogramm state: rows: [ { iterator: 0 }, { iterator: 0 } ]
Rätselstate { numberOfInputs: 0, state: "UPDOWNUP", }
Views:
- Title
- Game View
- Level select
- About
- Options
Combine this game with Return of Obra dinn style mystery, users solve puzzles as an agent to clarify the fates of corpses
You are MAX CYBER, the computer specialist at the best CSI Lab lab in the city. Solve puzzles to fulfill tasks set by your colleagues, and catch criminals! -> BYPASSING FIREWALL