{"schemaVersion":1,"record":{"key":"mechanic/game-mechanics--gm-keypad-codes","type":"mechanic","id":"game-mechanics--gm-keypad-codes","lang":"en","title":"Keypad codes","summary":"The player enters a discovered or known number sequence. Code verification turns knowledge into access to a door, safe or device.","updatedAt":"2026-10-22","status":"active","url":"https://gamemechanics.pro/en/knowledge/mechanic/game-mechanics--gm-keypad-codes/","jsonUrl":"https://gamemechanics.pro/api/v1/knowledge/en/mechanic/game-mechanics--gm-keypad-codes.json","markdownUrl":"https://gamemechanics.pro/content/knowledge/en/mechanic/game-mechanics--gm-keypad-codes.md","aliases":["Keypad code"],"tags":["Game design techniques","Access & Security"],"sourceIds":["source-e4be1353a107f39f","source-6d71d014590e7595","source-02e8aaf7cdcc3db3","source-4b3af7d4ff4c6450","source-fb8584912c6ccc38"],"sources":[{"id":"source-e4be1353a107f39f","title":"Game Mechanics: Keypad codes","url":"https://gamemechanics.org/patterns/keypad-codes","verifiedAt":null},{"id":"source-6d71d014590e7595","title":"Tom Clancy's Splinter Cell (2002)","url":"https://gamemechanics.org/patterns/keypad-codes/game/tom-clancys-splinter-cell","verifiedAt":null},{"id":"source-02e8aaf7cdcc3db3","title":"Doom 3 (2004)","url":"https://gamemechanics.org/patterns/keypad-codes/game/doom-3","verifiedAt":null},{"id":"source-4b3af7d4ff4c6450","title":"Deus Ex: Mankind Divided (2016)","url":"https://gamemechanics.org/patterns/keypad-codes/game/deus-ex-mankind-divided","verifiedAt":null},{"id":"source-fb8584912c6ccc38","title":"Prey (2017)","url":"https://gamemechanics.org/patterns/keypad-codes/game/prey","verifiedAt":null}],"sections":[{"id":"principle","title":"How it works","body":"The player enters a known or discovered numeric code."},{"id":"variants","title":"Variants","body":"### How the technique works\n\n<a id=\"gm-keypad-codes-rule\"></a>\n\n- The player enters a known or discovered numeric code. <a id=\"gm-keypad-codes-definition\"></a>"},{"id":"context","title":"Context and limits","body":"All 199 Game Mechanics entries at the check date: player actions, systems, presentation techniques and contested patterns. Entries are grouped by their first source-card category; all categories appear in their descriptions. Definitions use original wording. References link to game-specific galleries; images and videos remain at the source."}],"relations":[],"placements":[{"catalogId":"game-mechanics","id":"gm-keypad-codes","title":"Game design techniques","url":"https://gamemechanics.pro/en/mechanics/game-mechanics/#gm-keypad-codes","categoryIds":["gm-category-access-security"]}],"supersededBy":[],"attributes":{"preview":{"updatedAt":"2026-10-22","title":"Keypad code","description":"The player enters a discovered or known number sequence. Code verification turns knowledge into access to a door, safe or device.","image":{"src":"images/mechanics/interaction-keypad-codes.webp","width":600,"height":328,"game":"Tom Clancy’s Splinter Cell","sourceUrl":"https://gamemechanics.org/patterns/keypad-codes","originalUrl":"https://cdn.gamemechanics.org/webm/splinter_cell_code_door.webm","sourceFrameSeconds":3.54,"credit":"Ubisoft Montréal; frame from clip via GameMechanics.org","rights":"Game imagery © its respective rights holders. Source host: GameMechanics.org. Visible source watermarks preserved. All rights reserved; excluded from MIT and CC BY 4.0.","caption":"Entering digits on a door panel","alt":"Splinter Cell shows a close-up keypad beside a door, with entered digits visible on its display.","markers":[{"x":39,"y":38,"label":"Display of entered digits"},{"x":37,"y":64,"label":"Numeric entry buttons"}]},"tips":["Keep discovered codes in an accessible journal.","Distinguish incomplete entry, an incorrect code and successful access."],"examples":[{"title":"Tom Clancy’s Splinter Cell","url":"https://gamemechanics.org/patterns/keypad-codes"}]}},"endsAt":null,"provenance":"Editorial reference index based on the 199 public Game Mechanics pattern pages checked on 2026-10-20. Original concise RU/EN definitions by gamemechanics.pro; pattern names, category associations and game-reference URLs retained from gamemechanics.org. The source gallery includes a film analogy. Linked materials retain their original rights; references are upstream attributions, not independent verification.","license":"CC-BY-4.0","codeLicense":"MIT","attribution":"gamemechanics.pro contributors","catalogKey":"catalog/game-mechanics"}}