Dino Game - Chrome Dinosaur Running Game

Seele01-Flash
By
The iconic Chrome Dino Game is a classic pixel-art runner where you control a T-Rex jumping over cacti and obstacles. Simple controls, endless fun, and completely free to play online.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "**3D Chrome Dino Run**". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style:** Recreate the iconic "offline mode" aesthetic but reimagine it as a **2.5D or low-poly 3D world**. Use a strict monochromatic color palette (white/light grey background, black/dark grey assets) to maintain the classic feel. * **Models:** * **Player:** A voxel-style or extruded 2D mesh T-Rex. It should have simple running animations (legs moving back and forth) and a distinct "ducking" pose. * **Obstacles:** Voxel cacti of varying heights (some single, some grouped) and flying Pterodactyls (spawn at different heights: low, mid, high). * **Environment:** An infinite scrolling ground plane. Add simple particle clouds in the sky and small "dust" pixels kicked up when the T-Rex runs. * **Performance:** Keep geometry extremely simple (box geometries mostly). Use basic materials (MeshBasicMaterial) to ensure high FPS on mobile devices. No complex lighting or shadows are needed; "flat" shading is preferred. ### 2. Audio Requirements * **BGM:** None (faithful to the original) or a very subtle, rhythmic 8-bit "running" bassline that speeds up as the game progresses. * **SFX:** * **Jump:** A classic retro 8-bit "beep" or "blip" (rising pitch). * **Score:** A cheerful "ding-ding" every 100 points. * **Game Over:** A harsh, low-pitch "crunch" or "buzz" sound when hitting a cactus. * **Footsteps:** Very quiet, rapid ticking sounds synchronized with the animation loop. ### 3. Gameplay Loop * **Core Mechanic:** An endless runner where the speed gradually increases over time. The T-Rex runs automatically from left to right. * **Obstacles:** Randomly generate cacti and Pterodactyls. The gap between obstacles should be randomized but fair, scaling with speed. * **Scoring:** Score increases based on distance traveled. High score should be saved in `localStorage`. * **Day/Night Cycle:** Every 500-700 points, invert the colors (black background, white assets) for a "night mode" phase, then switch back. * **Game Over:** Collision with any obstacle stops the game immediately, shows a "Game Over" overlay with a replay button. ### 4. Mobile Controls & Interaction * **Orientation:** Force **Landscape Mode** preference, but ensure the camera adapts FOV if played in Portrait (zoom out slightly to see obstacles coming). * **Touch Controls:** * **Tap Right Side / Main Screen:** Jump (short tap for short jump, hold slightly longer for higher jump - variable jump height is crucial). * **Tap Left Side / Swipe Down:** Duck (crouch) to avoid high-flying Pterodactyls. * **UI:** * Minimalist UI placed at the top corners (Score: Top Right, High Score: Top Left). * **Game Over Screen:** A large, finger-friendly "Replay" icon (centered) appearing on death. * **Haptic Feedback:** Trigger a short vibration (`navigator.vibrate(200)`) upon collision/death for tactile feedback. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

The Dino Game is the beloved hidden gem originally found in Google Chrome when your internet connection fails. This simple yet addictive pixel-art runner has captured millions of players worldwide with its minimalist design and challenging gameplay. Control a cute T-Rex dinosaur as it runs through a desert landscape, jumping over cacti and dodging obstacles in an endless adventure.

This classic skill game features retro 8-bit graphics that evoke nostalgia for early gaming eras. Despite its simple appearance, the game offers surprisingly engaging gameplay that keeps players coming back for higher scores.

Core Features

Endless Running Action

Experience non-stop prehistoric adventure as your dinosaur runs automatically through an infinite desert landscape. The game progressively increases in speed and difficulty, testing your reflexes and timing skills.

Classic Pixel Art Style

Enjoy the charming monochrome pixel graphics that made this game an internet sensation. The minimalist black and white design is both timeless and instantly recognizable.

Progressive Difficulty

As you survive longer, the game becomes more challenging with faster speeds and more frequent obstacles. This creates an addictive "just one more try" experience that hooks players for hours.

Cross-Platform Compatibility

Play seamlessly across all devices - desktop computers, laptops, tablets, and mobile phones. The game works perfectly in any modern web browser without requiring downloads or installations.

Offline Gameplay

Originally designed as an offline game, it works perfectly even without an internet connection, making it ideal for travel or areas with poor connectivity.

Gameplay Mechanics

The objective is beautifully simple: keep your dinosaur alive as long as possible. Your T-Rex runs automatically from left to right across the desert floor. Cacti and flying pterodactyls appear as obstacles that you must avoid.

Scoring System

Your score increases based on the distance traveled. The longer you survive, the higher your score climbs. Challenge yourself to beat your personal best or compete with friends for the highest score.

Dynamic Obstacles

Face various challenges including ground-level cacti of different sizes and flying pterodactyls that require ducking. The variety keeps the gameplay fresh and unpredictable.

Operation Guide

Mastering the Dino Game requires only basic controls:

  • Spacebar or Up Arrow : Make the dinosaur jump over ground obstacles
  • Down Arrow : Duck to avoid flying pterodactyls
  • Mouse Click : Alternative jump control for touch devices
  • Touch Screen : Tap to jump on mobile devices

The key to success lies in timing your jumps perfectly and staying alert as the game speed increases. Start practicing with smaller cacti to build your reflexes before facing the faster, more complex obstacle patterns.

Why Play This Game

Perfect for Quick Sessions

Whether you have 30 seconds or 30 minutes, the Dino Game provides instant entertainment. Its pick-up-and-play nature makes it perfect for short breaks, commutes, or waiting periods.

Stress-Free Gaming

Unlike complex modern games, this offers pure, uncomplicated fun. No tutorials, no complicated mechanics - just jump and survive. It's gaming in its purest form.

Universal Appeal

Suitable for all ages and skill levels. Children love the cute dinosaur character, while adults appreciate the nostalgic charm and skill-based challenge.

No Commitment Required

Completely free to play with no registration, downloads, or in-app purchases. Simply open your browser and start playing immediately.

Improves Reflexes

Regular play can actually help improve your reaction time and hand-eye coordination, making it both fun and beneficial.

The Dino Game proves that the best games don't need complex graphics or elaborate storylines - sometimes simple, well-executed gameplay is all you need for hours of entertainment.

Frequently Asked Questions (FAQ)