Dino Game - Chrome Dinosaur Game

Seele01-Flash
By
The Dino Game is the iconic offline game from Google Chrome featuring a pixelated T-Rex running through an endless desert. Jump over cacti and avoid obstacles in this simple yet addictive skill-based runner game.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "**Chrome Dino Run 3D**". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style:** A minimalistic **3D voxel or low-poly aesthetic** that pays homage to the original 2D pixel art. The world should be monochrome or greyscale by default (white fog, grey ground, black objects), mimicking an "offline" error screen. * **Assets:** * **Player Character (T-Rex):** A cute, blocky 3D T-Rex model made of simple cubes (voxels). It needs basic running animations (legs cycling) and a "surprised" wide-eyed frame for collisions. * **Obstacles:** * **Cacti:** Groups of 1, 2, or 3 blocky green (or black) cacti. Some short and wide, some tall and thin. * **Pterodactyls (Flying Enemies):** Simple blocky bird-like shapes flying at two heights (low enough to duck, or high enough to run under). * **Environment:** An infinite scrolling ground plane with noise-based bumps or pixelated dots to simulate speed. A simple cloud layer floating slowly in the background. * **Day/Night Cycle:** After every 500 points, smoothly invert colors (white background becomes black, black dino becomes white) to simulate night mode, then switch back. * **Performance:** Use `InstancedMesh` for ground details and cacti spawning to ensure 60fps on mobile devices. Use simple Lambert or Basic materials to keep lighting calculations cheap. ### 2. Audio Requirements * **BGM:** None. Silence is key to the "offline" atmosphere. * **SFX:** * **Jump:** A short, retro-style 8-bit "bleep" or ascending square wave tone. * **Score Reached (every 100 points):** A high-pitched, double-tone "ding-ding" (like a digital watch alarm). * **Game Over:** A harsh, low-pitched "buzz" or descending slide tone when hitting an obstacle. * **Footsteps:** Very subtle, low-volume "tick" sounds synchronized with the running animation loop. ### 3. Gameplay Loop * **Core Mechanic:** An endless runner where the speed progressively increases over time. The T-Rex runs automatically from left to right. * **Controls:** The player must Jump to avoid cacti and low birds, or Duck (crouch) to avoid high-flying birds. * **Scoring:** Score increases based on distance traveled (e.g., +1 point every 0.1 seconds). * **Game Over Condition:** Any collision with a cactus or pterodactyl stops the game instantly, triggering a "Game Over" UI and showing the restart button. * **Progression:** Start slow. Speed increases linearly. At specific score milestones (e.g., 500, 1000), the day/night cycle toggles. ### 4. Mobile Controls & Interaction * **Screen Orientation:** **Portrait Mode** (vertical) is preferred for one-handed play, but the camera should frame the action comfortably (side-scrolling view). * **Touch Controls:** * **Tap Anywhere (Upper Screen):** Trigger **Jump**. The jump should feel snappy, not floaty (high gravity). * **Tap & Hold (Upper Screen):** Higher Jump (variable jump height based on hold duration). * **Touch & Hold (Lower Screen / or Swipe Down):** Trigger **Duck/Crouch**. The dino lowers its head and speeds up its fall if currently in the air. * **UI Layout:** * **Score:** Displayed in a pixel-font at the top right (padding: 20px). * **High Score:** Displayed next to the current score, slightly dimmed. * **Restart Button:** Large, centralized "Replay" icon (min 60x60px hit area) appearing only after death. * **Feedback:** * **Haptic:** Trigger a short vibration (`navigator.vibrate(20)`) on Jump, and a longer, stronger vibration (`navigator.vibrate(200)`) on Game Over. * **Visual:** Screen shake effect slightly when hitting an obstacle. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

Dino Game , also known as the Chrome Dinosaur Game or T-Rex Runner, is the legendary offline game that appears when your internet connection fails in Google Chrome browser. This minimalist pixel-art masterpiece has become one of the most recognized browser games worldwide, offering endless entertainment with its simple yet challenging gameplay.

The game features a cute pixelated T-Rex dinosaur running through a monochrome desert landscape. Your mission is to help the dinosaur avoid obstacles by jumping over cacti and ducking under flying pterodactyls. The longer you survive, the higher your score climbs, making it an addictive challenge for players of all ages.

Core Features

Classic Pixel Art Design

The game's iconic black and white pixel art style creates a nostalgic retro gaming experience. The minimalist graphics ensure smooth performance on any device while maintaining the charming aesthetic that millions of players love.

Endless Runner Gameplay

Experience the thrill of endless running as the T-Rex automatically moves forward through an infinite desert. The game progressively increases in speed, creating an increasingly challenging experience that tests your reflexes and timing.

Simple Controls, Challenging Mastery

While the controls are incredibly simple, mastering the game requires skill, timing, and quick reflexes. The difficulty curve is perfectly balanced to keep players engaged and coming back for more.

Cross-Platform Compatibility

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

Gameplay Mechanics

The Dino Game operates on a simple but effective endless runner formula. Your T-Rex automatically runs forward at increasing speeds, and you must time your jumps and ducks to avoid obstacles. The game tracks your distance traveled, encouraging you to beat your previous high scores.

Obstacles include: - Cacti : Various sizes requiring precise jumping - Pterodactyls : Flying dinosaurs that require ducking or jumping depending on height - Speed increases : The game becomes progressively faster, testing your reaction time

Controls Guide

Desktop Controls: - Spacebar or Up Arrow : Make the T-Rex jump - Down Arrow : Duck under flying obstacles - Click : Start the game or jump

Mobile Controls: - Tap the screen : Jump over obstacles - Swipe down : Duck under pterodactyls - Tap to start : Begin your endless running adventure

The controls are designed to be intuitive for players of all skill levels, making it easy to start playing but challenging to master.

Why Play This Game

Perfect for Quick Breaks : Whether you have 2 minutes or 20 minutes, the Dino Game provides instant entertainment without complex tutorials or lengthy setup.

Stress-Free Gaming : The simple mechanics and charming pixel art create a relaxing yet engaging experience that helps clear your mind.

Competitive Challenge : Try to beat your high score or compete with friends to see who can survive the longest in the desert.

No Internet Required : Originally designed as an offline game, you can play anytime, anywhere, even without an internet connection.

Universal Appeal : Suitable for all ages, from children learning basic gaming skills to adults seeking nostalgic entertainment.

Free Forever : Completely free to play with no hidden costs, advertisements, or premium features.

Tips for High Scores

  • Stay focused as the game speeds up
  • Learn the timing for different cactus heights
  • Practice ducking under pterodactyls at various altitudes
  • Keep your eyes on upcoming obstacles
  • Don't panic when the speed increases - maintain steady timing

The Dino Game proves that the best games don't need complex graphics or complicated mechanics. Sometimes, simple perfection is all you need for hours of entertainment.

Frequently Asked Questions (FAQ)