Dino vs Player

dino.mezes.uz

Free browser game

The dino runs itself. You are the obstacle course.

Everybody has played the little offline dinosaur game. Dino vs Player flips it: the computer jumps and ducks on its own, and you sit on the other side of the screen dropping cactuses and pterodactyls in its path. Land a hit and the point is yours.

Readouts

  • Score
  • Best
  • Dodged
  • Survival

Controls

  • 1Cactus
  • 2Pterodactyl
  • AAuto obstacles
  • VAI vision
  • PPause
  • RReset

Four readouts to watch and six things to press — that is the whole interface.

What it is
A free browser game
Who runs the dino
An AI that plans ahead
Your job
Place the obstacles
Game over
There isn’t one

What it is

What Dino vs Player is

The original dinosaur runner is a game about reflexes. A cactus comes at you, you press space, you survive — and the whole thing lives or dies on how fast your thumb is. Dino vs Player takes that loop and hands the reflexes to the machine.

Here the T-Rex plays itself. It runs, it jumps, it ducks under birds, and it does all of that without you touching a key. You are not the runner any more — you are the level designer, working live, one obstacle at a time. Press Cactus and a cactus grows out of the ground ahead of it. Press Pterodactyl and a bird comes in at head height. The dino has to deal with whatever you have just done to it.

When it fails, you score. A hit gives you a point, the obstacle it hit disappears, and the run carries straight on. Nobody dies, nothing resets, no screen tells you to try again. The dinosaur just keeps going and you keep looking for the gap in its reasoning.

It opens in a browser and starts immediately — no button to press first, no account, no install, nothing to pay. Point a phone at it and it plays perfectly well there too.

The flip

Why playing the villain is more interesting

The difficulty is on your side of the screen

In the original, the game gets harder because it speeds up. Here it gets harder because you get better. The only pressure the dino is under is the pressure you invent for it, and every point you score is something you set up on purpose.

You are playing against a mind, not a timer

The dino is not rolling dice and it is not following a script. It is working out what to do about the specific mess you just made in front of it. Beating it means finding a situation it cannot solve — which is a puzzle, not a reaction test.

Failing costs you nothing

There is no life to lose and no run to restart, so there is no reason not to try the ridiculous idea. Throw three cactuses down at once and watch what happens. The worst case is that the dino clears them beautifully.

You can watch it think

Turn on AI vision and the path the dinosaur has chosen is drawn on the screen in front of it. Most games hide their decision-making. This one shows you the answer and dares you to break it.

Step by step

How to play Dino vs Player

  1. Open the page — it is already running

    There is no start screen, no menu and no button to press first. The dinosaur is running before you have finished reading this, and Auto obstacles is on, so there is already a course coming at it.

  2. Watch it play for a moment

    The dino handles its own jumping and ducking. Give it a few seconds of your attention first — you are about to try to outsmart it, and it helps to see what it does when nothing is troubling it.

  3. Press Cactus, or the 1 key

    A cactus appears in front of it, and sometimes a cluster of two or three. Watch how early the dinosaur commits to the jump — that timing is the thing you will spend the rest of the game exploiting.

  4. After twelve seconds, press Pterodactyl, or the 2 key

    A bird flies in at one of three heights. A low one must be jumped, a middle one must be ducked under, and a high one drifts harmlessly over its head.

  5. When it gets hit, take your point

    Score goes up by one, the obstacle disappears, and the run continues. There is no game over and nothing to restart, so keep going straight into the next attempt.

  6. Turn on AI vision with V

    The dino’s chosen trajectory is drawn on screen. Now you can see the plan instead of guessing at it — including the moment it commits to a jump and stops being able to change its mind.

  7. Set the trap

    The two reliable ones: drop a cactus under a dinosaur that is already airborne, and put a middle-height bird just behind a cactus so the jump you forced becomes the reason it cannot duck.

  8. Switch Auto obstacles off with A

    The generator keeps the track busy, which is good for a casual run and bad for a planned one. Turn it off and the track is empty until you decide otherwise — from then on, every obstacle the dinosaur meets is yours.

  9. Use Pause and Reset when you want them

    P freezes everything so you can study a set-up in detail. R clears the run for a fresh start. Neither is ever forced on you — the dinosaur will keep running for as long as you leave it alone.

Controls

Everything you can press

Six controls, each with a keyboard shortcut. There is nothing hidden in a menu, because there is no menu.

ControlKeyWhat it does
Cactus1Grows a cactus out of the ground ahead of the dino. Cactuses can come in clusters of up to three, so one press is not always one problem.
Pterodactyl2Sends in a bird at one of three heights. Which height you get is what decides whether the dino must jump, must duck, or can ignore it entirely. Unlocks twelve seconds into a run.
Auto obstaclesAOn by default — the course keeps generating itself so there is always something happening. Switch it off when you want the track empty and every obstacle on it to be yours.
AI visionVDraws the trajectory the planner has settled on over the top of the game, so you can see the dino’s intended path before it takes it. The single most interesting button on the page.
PausePFreezes the world. Useful for studying a set-up mid-run, or for reading the trajectory line without the ground moving underneath it.
ResetRClears the run and starts a fresh one. You will never be forced to press it — the dino cannot lose — but it is there when you want a clean track.

Your obstacles

What you can throw at it

You have two obstacles. They ask completely different questions of the dinosaur, and knowing which question you are asking is most of the skill.

Cactus — the ground problem

A cactus has to be jumped. Simple on its own, and the dino clears a lone cactus without breaking stride. What makes it dangerous is that cactuses arrive in clusters of up to three: a wider wall needs a longer jump, and a longer jump means the dinosaur is airborne for longer and has fewer options for whatever comes next.

Pterodactyl — the height problem

A bird arrives at one of three heights and each one demands something different. A low bird has to be jumped over. A middle bird has to be ducked under. A high bird sails over the dinosaur’s head and costs it nothing at all — which makes the top height the one you waste presses on.

The combination is where the points are

The two obstacle types conflict with each other, and that conflict is your weapon. A cactus forces the dino up; a middle-height bird forces it down. Put one behind the other with the right spacing and there is no single move that answers both — which is the whole art of the game.

Birds take twelve seconds to arrive

Pterodactyls are locked for the first twelve seconds of a run. Until then it is cactuses only, and the dinosaur has a comparatively easy time of it. Think of the opening as the warm-up before your real tools show up.

  1. HighPasses harmlessly over its head
  2. MiddleIt has to duck under
  3. LowIt has to jump over
Ground
The three heights a pterodactyl can arrive at, and what each one forces the dinosaur to do about it.

You cannot pile obstacles on top of each other. A minimum gap is enforced between them, so hammering the buttons will not build an unjumpable wall — it just spreads your obstacles out. Every point has to be earned with placement and timing rather than volume.

The scoreboard

Reading the scoreboard

Four numbers sit above the game, and between them they tell you how the duel is going for both sides.

On screenWhat it means
ScoreYours. It goes up by one every time the dinosaur is hit by something. This is the only number in the game that measures you.
BestThe highest score you have reached in this session. It is a live comparison, not a saved record — reload the page and it starts again from nothing.
DodgedHow many obstacles the dino has got past cleanly. This is the dinosaur’s score, and most of the time it is winning comfortably.
SurvivalThe share of obstacles it has cleared, updating live as you play. Drag that percentage down and you are genuinely getting somewhere.

A good session is not measured by Score alone. Anyone can rack up hits by burying the dino. Pushing Survival down while the track stays fair is the harder, better game.

Inside the dino

The dino plans — it does not react

This is the part that makes the game worth playing. A reflex bot waits until an obstacle is close enough and then jumps. The dinosaur in Dino vs Player never waits for anything. On every single frame it throws away its old plan and works out a new one from scratch.

Everything it can do

  • Do nothing
  • Duck
  • Start a jump
  • Hold it longer
  • Cut it short
  • Drop early

And what it does with them, sixty times a second

  1. Every frame
  2. Simulate two seconds
  3. Score every plan
  4. Play the first move
  5. Throw the rest away

It simulates the next two seconds

The dino runs a private copy of the world forward by roughly two seconds — the ground, the speed, the obstacles you have placed and where they will be by then — and asks what happens to it in each possible future.

It searches over sequences of moves, not single moves

It has a small vocabulary: do nothing, duck, start a jump, keep holding it to fly further, cut it short, or slam back down early. What it is looking for is not the best next move but the best whole sequence, because a jump you commit to now is a jump you are still stuck in half a second later.

It keeps only the promising branches

Checking every combination two seconds deep would be far too slow to do sixty times a second, so the search keeps a shortlist of the strongest candidate plans alive at each step and lets the hopeless ones die. That is what lets it think that far ahead and still run smoothly.

It picks the plan with the fewest hits

Every candidate future is scored by how many times the dinosaur gets clipped in it. The plan with the fewest collisions wins, and the first move of that plan is what you see it do.

When in doubt, it stays on the ground

If two plans are equally safe, the dino chooses the one that keeps it grounded. That is not laziness — it is the correct answer to your existence. It cannot see what you are about to press, and a dinosaur in mid-air has already spent its options. Staying down keeps every escape available for whatever you do next.

It slows its thinking down before it drops frames

On a weaker phone the dino automatically looks less far ahead and considers fewer plans, so the game keeps its smooth pace instead of stuttering. It plays slightly less brilliantly rather than badly.

The practical consequence is that you cannot beat this dinosaur by being fast. Anything you place with enough runway in front of it, it will solve. The points come from the moments where there is no correct answer left — where it has already committed to a jump, or where the only safe height is one you have just filled in.

Tactics

How to actually beat it

The dinosaur is good. These are the situations where being good is not enough.

Punish the commitment

A jump cannot be taken back. The moment the dino leaves the ground it has locked in an arc, so that is the moment to drop a cactus where it is going to land. This is the single most reliable way to score, and it is exactly why the planner prefers to stay grounded whenever it safely can.

Stack a bird behind a cactus

The cactus forces a jump. A middle-height pterodactyl just behind it needs a duck. The dino cannot duck while it is still coming down from the jump you made it take — so give it just enough gap that it takes the bait and not enough to recover.

Clear the track before you set a trap

With Auto obstacles on, the generator keeps feeding the dino easy problems it solves for free, and those spoil your spacing. Switch auto off and the track is empty until you fill it — every obstacle in front of the dinosaur is then one you chose and placed.

Use AI vision as a targeting aid

The drawn trajectory tells you where the dinosaur intends to be. It is not there to admire — it is a map of where it will be helpless. Aim for the part of the line that is already in the air.

Do not waste presses on high birds

The top height sails over the dinosaur harmlessly. If a bird comes in high, that press did nothing except take up room on the track and push your next obstacle further back.

Watch Survival, not just Score

Score only counts hits, and hits pile up on their own over a long run. The percentage is the honest measure: it tells you whether you are actually outthinking the planner or simply playing for a long time.

Honest credits

Yes, some of this is Chrome’s — here is exactly which parts

This game is built on the browser dinosaur runner everybody already knows, and pretending otherwise would be silly. So here is the honest split. The art is Chrome’s. The thinking is ours.

Taken from Chrome

  • The pixel art

    The dinosaur, the cactuses, the birds, the ground and the clouds are the real sprites, packed into a single sheet. They are why the game looks instantly familiar, and the credit for them is not ours.

  • The physics

    Gravity, jump strength, the shape of the arc — the original constants, used unchanged. The dino moves the way you remember it moving, because it is moving by the same rules.

  • The collision boxes

    What counts as a hit is measured against the same boxes the original uses. A near miss is a near miss by the same standard.

  • The day and night cycle

    The switch to a night palette after a long enough run is the original idea, kept because there was no reason to improve on it.

Built from scratch

  • The whole concept, inverted

    The original is a game about surviving. This one is a game about designing the thing that has to be survived — and once the human is on the obstacle side, almost nothing about the original design still applies.

  • The planner

    The dinosaur’s brain is the real work here. A rolling two-second simulation with a beam search over action sequences on every frame, choosing the plan that gets hit least. There is nothing like it in the original, where the dinosaur has no brain at all because it does not need one.

  • The quality adaptation

    How far ahead the planner looks and how many plans it keeps alive adjust themselves to the device it is running on, so a modest phone gets a smooth game instead of a stuttering one.

  • The reworked unlock logic

    Obstacles do not appear according to how fast the world is moving, the way they originally did. That rule was rewritten from the ground up, because when a person is placing the obstacles the original pacing stops making any sense.

The game says the same thing in its own footer: it is an independent fan project and is not affiliated with Google or Chrome. That is worth stating plainly rather than burying, because the interesting part of this project was never the sprites.

The run

The run never ends

There is no game over

A hit does not kill the dinosaur. You get a point, the obstacle that hit it vanishes, and it carries on running. There is no death animation, no score screen and nothing asking you to try again — which is why the game does not need a restart prompt in the first place.

Best lasts as long as the tab does

The Best figure tracks your high point for the current session only. Reload, or come back tomorrow, and it starts from zero. Nothing is stored and nothing is carried over — it is a scoreboard for right now, not a profile.

Day turns into night

Run far enough and the world flips into a night palette — the same landscape inverted, the way the original does it. It changes nothing about how the game plays; it just tells you how long you have been at this.

It keeps playing without a connection

The whole game is one self-contained page. Once it has loaded, the connection is no longer part of the equation — lose your signal on a train and the dinosaur keeps running.

It installs on a phone

It can be added to a phone’s home screen and opened like an app, full screen and without browser furniture around it.

It stops when you are not looking

Switch to another tab or scroll the game off the screen and the whole loop stops until you come back. No animation runs in the background quietly eating your battery.

Good to know

Good to know

Your high score is not saved

Best lives for the session and nothing more. Refresh the page and it goes back to zero. There is no profile, no login and no stored history — if you beat your record, enjoy it while the tab is open.

You cannot spam your way to a win

A minimum gap between obstacles is enforced, so mashing the buttons spreads them out rather than stacking them into a wall. Points come from where you put things, not how many you put.

The dinosaur will usually beat you

It plans two seconds ahead, sixty times a second, and it is very hard to catch out with a fair obstacle. A Survival percentage in the nineties is normal. That is the standard you are playing against.

Birds are locked at the start

The pterodactyl button does nothing for the first twelve seconds of a run. That is deliberate pacing, not a fault.

There is nothing to install unless you want to

It runs in any browser tab as it is. Adding it to a phone home screen is optional and changes nothing about the game beyond removing the browser bar.

It is a fan project

Dino vs Player is independent and is not affiliated with Google or Chrome. It borrows the look of the offline dinosaur game and does something entirely different with it.

Questions

Questions and answers

  • What is Dino vs Player?

    It is the browser dinosaur game with the roles swapped. An AI controls the T-Rex — it runs, jumps and ducks without any input from you — and your job is to place the cactuses and pterodactyls it has to get past. When the dinosaur is hit, you score a point. It is free, runs in a browser, and starts the moment the page opens.

  • How does the AI dinosaur decide when to jump?

    It plans rather than reacts. On every frame it simulates roughly the next two seconds of the world and searches over sequences of moves — do nothing, duck, jump, hold the jump longer, cut it short, drop early — looking for the sequence that gets hit the fewest times. It then performs the first move of that plan and throws the rest away, because next frame it works the whole thing out again from scratch.

  • Why does the dino sometimes not jump when it obviously could?

    Because staying on the ground is usually the stronger move. When two plans are equally safe the dinosaur picks the grounded one, and that is a deliberate choice: it cannot see what you are about to place. A dinosaur in mid-air has already spent its options and cannot answer a new obstacle, while one on the ground can still jump, duck or wait.

  • Can I lose? What happens when the dino is hit?

    There is no game over for anybody. When the dinosaur is hit, your Score goes up by one, the obstacle that hit it disappears, and the run continues without a pause. That is also why there is no restart prompt — nothing ever ends, so there is nothing to restart from. Reset is available if you simply want a clean track.

  • Is my high score saved?

    No. Best only shows the highest score of your current session and nothing is stored anywhere. Reload the page and both Score and Best start again from zero. There is no account, no profile and no saved history — the scoreboard is a live comparison for this run, not a record book.

  • Why can’t I place a pterodactyl at the start?

    Birds unlock twelve seconds into a run. Until then only cactuses are available, which gives the opening a gentler shape. After twelve seconds the Pterodactyl button starts working and stays available for the rest of the run.

  • What is the difference between the three bird heights?

    A low pterodactyl has to be jumped over. A middle one has to be ducked under. A high one passes harmlessly over the dinosaur’s head and costs it nothing, so it is effectively a wasted press. The height is what makes the bird a different problem from a cactus: a cactus always forces the dino up, while a middle bird forces it down.

  • What does AI vision actually show?

    It draws the trajectory the planner has committed to, over the top of the game, so you can see the path the dinosaur intends to take before it takes it. It is genuinely useful and not just decoration — the part of the line that is already in the air is the part where the dinosaur can no longer change its mind, which is exactly where you want your next cactus to be.

  • Can I stack obstacles on top of each other to force a hit?

    No. A minimum gap is enforced between obstacles, so pressing the buttons repeatedly spreads them along the track rather than piling them into an unjumpable wall. If you want a point you have to earn it with spacing and timing — usually by making the dinosaur commit to a move and then placing the obstacle that punishes that specific commitment.

  • Is this just a copy of the Chrome dino game?

    Partly, and that is stated openly. The pixel art, the physics constants, the collision boxes and the day-night cycle come from the original. The reversed concept, the planning dinosaur, the way it adapts its thinking to slower devices and the rewritten obstacle timing are all original work. Short version: the art is Chrome’s, the thinking is ours. The game is an independent fan project and is not affiliated with Google or Chrome.

  • Does it work offline or on a phone?

    Both. The game is one self-contained page, so once it has loaded it keeps running even if your connection drops. It plays fine on a phone screen and can be added to a home screen and opened like an app if you want it full screen.

  • Does it drain my battery if I leave it open?

    No. The game stops running whenever it is not being watched — switch to another tab, or scroll it off the screen, and the loop pauses until it is visible again. Nothing animates quietly in the background.

  • Should I turn Auto obstacles off?

    It depends what you want. On, which is the default, the course generates itself and there is always something for the dinosaur to deal with — good for watching it play. Off, the track is completely empty until you fill it, which is what you want when you are setting up a specific trap and need the spacing to be exactly yours.

Play

Go and ruin its day

It is already running. Open the page, press 1, and see how long it takes you to find a problem the dinosaur cannot solve.