Back to projects

Game Dev

Snake

A browser Snake implementation inside the games platform, with progressive difficulty up to level 20, obstacles at advanced levels and server-side score storage.

Web Snake game interface

Context

Solo mini game created to enrich the platform with a simple but replayable progression loop.

Role

Implemented the game loop, collisions, progression, interface and score persistence.

Stack

JavaScriptDenoJWTTypeScript

Architecture

Browser-side JavaScript game logic, DOM/CSS rendering and Deno backend calls to save best scores and unlocked levels.

Key features

  • Progression up to level 20 with increasing speed.
  • Obstacles added at higher levels.
  • Leaderboard and best score linked to the user account.

Learnings

  • Stabilize a browser game loop.
  • Balance speed, obstacles and readability.
  • Connect a simple arcade mechanic to persistent progression.