🦕 Dino Runner

Deploy on Deno

Stage 3: Obstacles & Collision Detection

Now we have a complete game! Jump over cacti, avoid collisions, and beat your high score. Use Space or to jump. Click the canvas to start playing.

Score: 0
High Score: 0
Click to Start!

Controls

Space 🖱️ Click Jump Jump Start/Jump

Stage 3 Features

🌵

Obstacle System

Randomly generated cacti with collision detection

💥

Game Over Logic

Complete game loop with restart functionality

🏅

High Score System

Local storage for persistent high score tracking

🪜

Progressive Difficulty

Increasing speed and obstacle frequency over time

Server Status

Server health check: Health Check Endpoint

Should return: {"status": "ok", "message": "🦕 Stage 1 - Dino server is healthy!"}

Ready for Stage 4?

Now that we have a complete game, we can add some data storage with a Postgres database to save high scores and allow players to customize their game experience.

Go to stage 4