---
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
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
---
# Keypad codes

id: game-mechanics--gm-keypad-codes
type: mechanic
key: mechanic/game-mechanics--gm-keypad-codes
lang: en
status: active
url: https://gamemechanics.pro/en/knowledge/mechanic/game-mechanics--gm-keypad-codes/

The player enters a discovered or known number sequence. Code verification turns knowledge into access to a door, safe or device.

## At a glance

![Splinter Cell shows a close-up keypad beside a door, with entered digits visible on its display.](https://gamemechanics.pro/images/mechanics/interaction-keypad-codes.webp)

[Tom Clancy’s Splinter Cell](https://gamemechanics.org/patterns/keypad-codes) · 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.

[Source recording](https://cdn.gamemechanics.org/webm/splinter_cell_code_door.webm), 3.54 s

1. Display of entered digits
2. Numeric entry buttons

- Keep discovered codes in an accessible journal.
- Distinguish incomplete entry, an incorrect code and successful access.

- [Tom Clancy’s Splinter Cell](https://gamemechanics.org/patterns/keypad-codes)

## How it works

The player enters a known or discovered numeric code.

## Variants

### How the technique works

<a id="gm-keypad-codes-rule"></a>

- The player enters a known or discovered numeric code. <a id="gm-keypad-codes-definition"></a>

## Context and limits

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.

## Connected materials


## Sources and 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.

- [Game Mechanics: Keypad codes](https://gamemechanics.org/patterns/keypad-codes) (id: source-e4be1353a107f39f)
- [Tom Clancy's Splinter Cell (2002)](https://gamemechanics.org/patterns/keypad-codes/game/tom-clancys-splinter-cell) (id: source-6d71d014590e7595)
- [Doom 3 (2004)](https://gamemechanics.org/patterns/keypad-codes/game/doom-3) (id: source-02e8aaf7cdcc3db3)
- [Deus Ex: Mankind Divided (2016)](https://gamemechanics.org/patterns/keypad-codes/game/deus-ex-mankind-divided) (id: source-4b3af7d4ff4c6450)
- [Prey (2017)](https://gamemechanics.org/patterns/keypad-codes/game/prey) (id: source-fb8584912c6ccc38)

CC-BY-4.0 · gamemechanics.pro contributors
