Skip to content

Implement Nokia 3310 Snake game#1

Draft
Copilot wants to merge 2 commits into
mainfrom
copilot/create-snake-game
Draft

Implement Nokia 3310 Snake game#1
Copilot wants to merge 2 commits into
mainfrom
copilot/create-snake-game

Conversation

Copy link
Copy Markdown

Copilot AI commented Feb 12, 2026

Single-file browser-based Snake game recreating the Nokia 3310 experience.

Implementation

Architecture:

  • Pure HTML5 Canvas rendering (400×300px, 20×15 grid)
  • Vanilla JS game loop with fixed timestep (150ms base, decreases with score)
  • LocalStorage for high score persistence
  • Zero dependencies, no build process

Core mechanics:

  • Grid-based movement with 180° turn prevention
  • Random food spawn avoiding snake body
  • Collision detection (walls + self)
  • Progressive difficulty via speed scaling

Controls:

  • Keyboard: Arrow keys / WASD / Space for pause
  • Touch: On-screen directional buttons

Visual:

  • CSS Nokia 3310 phone mockup with green monochrome display (#c7d6a4)
  • Snake with directional eyes
  • Retro grid aesthetic

Screenshots

Start screen:
Start

Gameplay:
Game

Files

  • snake.html (16KB) - Complete game
  • README.md - Usage documentation

💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Copilot AI changed the title [WIP] Add snake game similar to Nokia 3310 No implementation changes - Snake game not yet developed Feb 12, 2026
Copilot AI requested a review from RutgerDijk February 12, 2026 20:11
Copilot stopped work on behalf of RutgerDijk due to an error February 12, 2026 20:13
Copilot AI changed the title No implementation changes - Snake game not yet developed Add Nokia 3310 Snake game specification Feb 12, 2026
Co-authored-by: RutgerDijk <65535569+RutgerDijk@users.noreply.github.com>
Copilot AI changed the title Add Nokia 3310 Snake game specification Implement Nokia 3310 Snake game Feb 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants