{
  "name": "snake",
  "kind": "registry",
  "title": "Snake II",
  "description": "Snake II exactly as the Nokia 3310 plays it, on the phone's own 84 by 48 screen: its menus, nine levels, five mazes, the bonus creatures and the top score with its fireworks. The arrows steer, Enter is Menu and Select, Backspace is C.",
  "version": "0.1.0",
  "icon": {
    "tile": {
      "svg": "M2 9h7v2H2zM7 4h2v7H7zM7 4h6v2H7zM12.5 9.5h1.5V11h-1.5z",
      "bg": "green"
    }
  },
  "author": "pal",
  "spec": "github:zcag/pal/extensions/snake@v0.18.11",
  "source": "https://github.com/zcag/pal-games/tree/HEAD/snake",
  "commit": "a1b2399a1c0f10f03ce4d06912a6a4c0d2512106",
  "manifest": {
    "name": "snake",
    "title": "Snake II",
    "description": "Snake II exactly as the Nokia 3310 plays it, on the phone's own 84 by 48 screen: its menus, nine levels, five mazes, the bonus creatures and the top score with its fireworks. The arrows steer, Enter is Menu and Select, Backspace is C.",
    "version": "0.1.0",
    "icon": {
      "tile": {
        "svg": "M2 9h7v2H2zM7 4h2v7H7zM7 4h6v2H7zM12.5 9.5h1.5V11h-1.5z",
        "bg": "green"
      }
    },
    "author": "pal",
    "repo": "bundled",
    "license": "MIT",
    "settings": [
      {
        "kind": "boolean",
        "id": "tones",
        "label": "Game tones",
        "text": "The buzzer: the click on eating, the pips on a crash, the top score's jingle",
        "description": "The phone's own \"Warning and game tones\". Also flipped with cmd+T on the game.",
        "default": true
      },
      {
        "kind": "boolean",
        "id": "queue_turns",
        "label": "Queue a quick second turn",
        "text": "Keep a second turn pressed within one step (up then left) for the step after",
        "description": "Not the phone: the real 3310 keeps one turn per step and loses a second key that reverses the way the snake last moved, or points the way it is going. On, that key waits one step instead. Off plays exactly as the firmware.",
        "default": true
      }
    ],
    "sync": {
      "phone": "local",
      "best": "max",
      "options": {
        "fields": {
          "level": "latest",
          "maze": "latest"
        }
      }
    },
    "leaderboards": [
      {
        "id": "top",
        "title": "Top score",
        "order": "desc",
        "format": "points",
        "min": 1,
        "max": 100000
      },
      {
        "id": "week",
        "title": "This week",
        "order": "desc",
        "format": "points",
        "period": "week",
        "min": 1,
        "max": 100000
      },
      {
        "id": "level/*",
        "title": "Level {1}",
        "order": "desc",
        "format": "points",
        "min": 1,
        "max": 100000
      }
    ],
    "store": {
      "tagline": "The Nokia 3310's Snake II, pixel for pixel and step for step",
      "category": "fun",
      "features": [
        "Every screen, sprite, maze, speed and sound taken from the real 3310 firmware and checked against it",
        "The 84 by 48 screen drawn pixel for pixel, lit green in the menus as the phone does",
        "The phone's menus: New game, Level, Mazes, Top score, Instructions and Continue",
        "Nine levels, no maze or mazes 1 to 5, and a bonus creature after every five foods",
        "The split second before a crash, so a late turn still saves the snake",
        "The keypad as the phone had it: arrows as 2 4 6 8, `enter` for Menu, `backspace` for C; Escape pauses",
        "Leaderboards for the top score, this week's and each level's; signed in, your top score, level and maze follow you to your other machines and play.cagdas.io"
      ],
      "permissions": [],
      "platforms": [
        "macos",
        "linux"
      ],
      "screenshots": [
        {
          "file": "1-play.png",
          "caption": "Level 5, a bonus creature up with its countdown at the top right; unlit, as the phone keeps its backlight in play",
          "cover": [
            401,
            277,
            638,
            313
          ]
        },
        {
          "file": "2-menu.png",
          "caption": "The Snake II menu, lit, as the phone draws it: Continue for the game left paused"
        },
        {
          "file": "3-maze.png",
          "caption": "Maze 2 at level 5: the bulges of the food swallowed ride down the body"
        },
        {
          "file": "4-topscore.png",
          "caption": "The Top score screen, its coins fallen into the cup"
        }
      ],
      "actions": [
        {
          "title": "2 4 6 8",
          "description": "Steer: up, left, right, down. The arrows while playing. 1 3 7 9 turn across the way the snake goes, `*` and `#` turn left and right.",
          "keys": "up, left, right, down"
        },
        {
          "title": "Menu, Select, OK, More",
          "description": "The phone's left soft key. In play it pauses.",
          "keys": "enter"
        },
        {
          "title": "C",
          "description": "Back; in play it pauses. On the Snake II menu it leaves the game.",
          "keys": "backspace"
        },
        {
          "title": "Scroll",
          "description": "The phone's scroll keys: the arrows in a menu, Page Up and Page Down anywhere (they turn the snake left and right in play).",
          "keys": "pageup, pagedown"
        },
        {
          "title": "Game tones",
          "description": "The buzzer on or off.",
          "keys": "cmd+t"
        }
      ],
      "play": true
    },
    "palettes": {
      "snake": {
        "title": "Snake II",
        "kind": "view",
        "description": "The phone's screen. Escape pauses the game and leaves; Continue waits in the menu.",
        "keys": [
          {
            "keys": "up",
            "title": "2 4 6 8 in play (also down, left, right); the scroll keys in a menu"
          },
          {
            "keys": "enter",
            "title": "Menu, Select, OK, More (the left soft key)"
          },
          {
            "keys": "backspace",
            "title": "C: back, or pause in play"
          },
          {
            "keys": "pageup",
            "title": "Scroll up (in play: turn left); Page Down scrolls down (turn right)"
          },
          {
            "keys": "cmd+t",
            "title": "Game tones on or off"
          }
        ]
      }
    }
  },
  "playable": true,
  "updated_at": "2026-11-22T01:38:11Z",
  "url": "https://pal.cagdas.io/extensions/snake",
  "tagline": "The Nokia 3310's Snake II, pixel for pixel and step for step",
  "category": "fun",
  "screenshots": [
    "https://pal.cagdas.io/extensions/snake/screenshots/1-play-dark.png",
    "https://pal.cagdas.io/extensions/snake/screenshots/1-play.png",
    "https://pal.cagdas.io/extensions/snake/screenshots/2-menu-dark.png",
    "https://pal.cagdas.io/extensions/snake/screenshots/2-menu.png",
    "https://pal.cagdas.io/extensions/snake/screenshots/3-maze-dark.png",
    "https://pal.cagdas.io/extensions/snake/screenshots/3-maze.png",
    "https://pal.cagdas.io/extensions/snake/screenshots/4-topscore-dark.png",
    "https://pal.cagdas.io/extensions/snake/screenshots/4-topscore.png"
  ],
  "panel_screenshots": [
    "https://pal.cagdas.io/extensions/snake/screenshots/1-play.png",
    "https://pal.cagdas.io/extensions/snake/screenshots/2-menu.png",
    "https://pal.cagdas.io/extensions/snake/screenshots/3-maze.png",
    "https://pal.cagdas.io/extensions/snake/screenshots/4-topscore.png"
  ],
  "bar_screenshots": [],
  "panel_screenshots_dark": [
    "https://pal.cagdas.io/extensions/snake/screenshots/1-play-dark.png",
    "https://pal.cagdas.io/extensions/snake/screenshots/2-menu-dark.png",
    "https://pal.cagdas.io/extensions/snake/screenshots/3-maze-dark.png",
    "https://pal.cagdas.io/extensions/snake/screenshots/4-topscore-dark.png"
  ],
  "bar_screenshots_dark": [],
  "has_bar": false,
  "bar_items": [],
  "has_links": false,
  "links": [],
  "multi": false,
  "has_readme": true
}
