Drill Lab
Dino Dash
A Chrome-dino endless runner where the only way to jump is answering a mental-math question - one cactus hit ends the run.
How it works
Dino Dash is an endless runner in the style of the Chrome dino game, with one change that is the whole game: the space bar submits your typed answer to the current math question, and a correct answer IS the jump - fired at that instant, or not at all if the dino is already airborne. There is no stored credit and no auto-timing; you are solving the question AND timing the press so the hop clears the cactus. Pressing early and landing before the cactus arrives spends the answer for nothing, and a wrong answer just shakes the input (the box clears for a clean retry) while the cactus keeps coming.
Questions come from a ten-tier difficulty ladder, ten questions per tier, mixing arithmetic, fractions, and percentages - you can also restrict the run to one of those categories from the menu. Tier 1 is deliberately trivial single-digit work and the ladder climbs to genuinely hard tiers 8 through 10. Every answer is a whole number or a fraction already in lowest terms, and grading is exact string match, so a fraction answer must be typed reduced.
The run ends on the first collision with a cactus - one hit, no lives, no second chance. Speed and obstacle spacing ramp with your score, and the space bar also starts and restarts runs from the menu and game-over screens.
How scoring works
Score is simply the number of questions answered correctly - each correct answer scores 1 and deals the next question. Wrong answers cost nothing beyond the cactus still bearing down.
Difficulty is adaptive rather than score-marched: a controller watches whether you answer correctly and how fast (the fluency gate is 9 seconds per question, sized for doing two things at once), promoting fluent players up the ten tiers and easing struggling players down. Your tier is saved locally and resumes next session instead of restarting the climb.
Game speed ramps linearly with score from 3.6 to a cap of 12, pinned so maximum pace lands exactly when the hardest tier's questions do (score 90). The game-over screen shows an estimated percentile for your score.
Solve ahead, jump on time
The core skill is decoupling the two halves. Solve the question the moment it appears and type the answer immediately - but hold the space bar until the cactus is close. Your typed answer sits in the box costing nothing; the press is the only timed action. Players who treat answer-and-press as one motion burn their jump early, land in front of the cactus, and die with a correct answer already spent.
The jump has fixed physics - same arc every time - so the timing is learnable as a pure motor skill: press when the cactus reaches a consistent landmark distance from the dino. Spend your first few runs consciously calibrating that landmark at low speed, because the same landmark compresses in time as speed ramps and your press has to come at the landmark, not at a remembered rhythm.
If you are still solving when a cactus gets close, that is the one situation to hurry - a fast correct answer late still jumps, a perfect answer after the collision does not. This is where the early tiers' trivial questions matter: bank them instantly so you are never solving under the cactus.
Keep answers in the exact expected form
Grading is exact string match against an answer key that is always a whole number or a fully reduced fraction. Percentage questions are built so the answer is a whole number - if your percentage arithmetic produces a decimal, you have made an error, not found a decimal answer. Fraction questions like 1/8 + 3/8 want 4/8 reduced to 1/2. Typing an unreduced or decimal form of the right value counts as wrong.
Percentages here reward the fraction-conversion table: 25 percent is a quarter, 12.5 percent an eighth, 20 percent a fifth, 75 percent three quarters. "75% of 48" as 48 x 3/4 = 36 is two beats; long-form percentage multiplication is five. The bases are generated to divide cleanly, so the fraction route always lands on the whole number the key expects.
For percent-change questions ("140 increased by 15%"), compute the delta and add: 10 percent of 140 is 14, 5 percent is 7, so +21 gives 161. Splitting a percentage into 10s and 5s and 1s is the fastest reliable route and keeps everything in whole numbers.
Ride the adaptive controller deliberately
The tier you play is not a reward ladder, it is a fluency estimate: answer correctly inside about 9 seconds and you drift up; miss or stall and you drift down. That means accuracy-plus-tempo is what promotes you - firing fast wrong guesses is doubly bad, dropping your tier and teaching nothing. A steady sub-5-second correct pace climbs the ladder quickly.
Because your tier persists across sessions, warm-up runs matter less than they would in a reset-every-time game: you resume where your fluency left you. Use the category filter to fix specific weaknesses - a fractions-only or percentages-only session drills the exact conversion habits the mixed ladder will later demand at the high tiers.
Late runs fail at the intersection of hardest questions and maximum speed, by design - both ramps are pinned to the same score. Past score 90 the game stops getting faster, so the survival problem becomes constant and the only variable left is how fast you clear tier-10 questions. That is the regime where the fraction and percentage shortcuts stop being nice-to-have and become the run.
A worked example
Mid-run, the prompt shows "3/4 of 32" with a cactus a screen-width away. Fraction route: 32 / 4 = 8, times 3 = 24. Type 24 - do not press space yet. The answer sits ready while the cactus closes.
The cactus reaches your calibrated landmark - press space. The answer submits, scores +1, the jump fires at that instant, and the dino clears the cactus. The next question appears mid-air; start solving it immediately so the next cactus never catches you mid-calculation.
Common mistakes
• Pressing space the instant you finish solving - an early jump lands before the cactus arrives and the correct answer is spent for nothing.
• Submitting unreduced fractions or decimal forms - grading is exact string match, so 4/8 and 0.5 both fail where 1/2 passes.
• Doing percentages long-form instead of converting to fractions - the bases always divide cleanly, so 75% of 48 is 48 x 3/4.
• Firing fast guesses under pressure - misses ease the adaptive tier down and the cactus is unmoved either way.
• Timing jumps by rhythm instead of by the cactus's position - the speed ramp compresses the rhythm but not the landmark.
Why interviews test this
Doing arithmetic while managing a second real-time task is closer to a trading desk than any pure math quiz: the calculation is easy, the constraint is doing it while something else demands attention on its own schedule. Timed mental-math screens in trading recruitment exist to find people whose arithmetic survives divided attention.
The one-hit format also mirrors the asymmetry the culture drills in: in a fast market, one unforced error can end an otherwise good day. Playing for a long steady run over a flashy fast one is the same temperament interviewers look for.