← All interactive demos

How the Back of the Pack Catches Up — Interactive Demo

This is the race model from the video "Why can racers catch up in Mario Kart?". 4 cars run 3 laps of a 600 m course. The yellow car 1 has the highest normal speed (100); car 2 is 97, car 3 is 94, car 4 is 91. Choose what kind of help the cars behind get, then race. The course and cars are our own, not Mario Kart's code or screens.

1. Race (car 1 = you)

2. Help rules

Strength
Race number (when mistakes happen)
Task: with "By position" turned up, can car 1 still win if it eases off the accelerator partway? Move the strength of "By gap" and look for a value where the finish gap is small and there are not too many overtakes.

3. Run the same 20 races automatically (same measurement as the video)

RuleGapPassesCar 1 wins+5 mistakes

Rules: None = normal speed for everyone. By position = each place further back is faster by "strength" % (the video uses 5%). By gap = faster in proportion to the distance behind the leader up to 60 m, capped at "strength" % beyond 60 m (the video uses 12%). Right behind the leader, the help disappears.
Every car makes a "mistake" about once every 12 seconds on average and slows down for 1 second (its target speed halves; red ring). Mistake times are set by the race number, so with the same number the same car makes a mistake at the same time even if you change the rule. An overtake counts once when two cars swap order and the passing car gets 2 m or more ahead. Speed does not change instantly; it approaches the target speed over about 0.8 s. It is calculated in fixed steps of 1/60 s.
What Nintendo's explanations confirm is that item drops change with position, such as the official "Mario Kart: Super Circuit" (2001) page saying that the lower your position, the more likely you get powerful items. We could not confirm from official explanations how the computer cars' speeds are changed. The speed help on this page is a simplified model of the idea called "rubber banding" in racing games (a simple example that boosts every car by "gap to the leader" or "position"). The numbers are results for these settings and change if you change things like mistake times.
Sources and credits: same as the video description (AI was used to make the diagrams and script; no game footage or characters are used).