Roulette Lab · Lab · Context · 7 min

Roulette Computers

How a computer times the ball, who built the first ones, and how accurate it has to be.

Short answer

A roulette computer times the ball and the rotor in the first seconds of a spin and names the part of the wheel where the ball should land. Edward Thorp and Claude Shannon built the first in 1961, and the Eudaemons built digital ones from 1976. The method needs bets taken after the launch: live studios now close betting at the launch, and Nevada has banned such devices since 1985.

first built
1961, Thorp and Shannon
what it measures
ball and rotor timing
useless beyond an error of
about 17 pockets
banned in Nevada
since 1985

How the first roulette computer system was built

In his 1998 account, Edward Thorp dates the idea to 1955 and describes working with Claude Shannon at MIT in 1960–61. They studied a regulation wheel on a slate billiard table in Shannon’s basement, using a clock and strobe light to improve their timing.

By June 1961 they had a cigarette-pack-sized analog computer with twelve transistors. Toe-operated switches timed the ballequipmentBallThe small ball launched along the track against the rotor. Modern balls are ivorine or Teflon, 18–21 mm.Read full → and rotorequipmentRotorThe spinning part of the wheel that carries the pockets.Read full →; tones identified one of eight sectorswheelSectorA contiguous arc of pockets on the wheel, as distinct from a group on the layout.Read full → to bet on. Thorp reports testing it in Las Vegas that summer with ten-cent chipsmoneyChipA token representing a fixed amount, placed on the layout to make a bet. Also: check.Read full →. Repeated breaks in the earpiece wires prevented sustained serious betting. Distance and competing work later kept the project from continuing.

This is the inventor’s retrospective account, not an independent casino trial report. His 1969 paper gives 1957 for the initial idea; the later account gives 1955. Both describe work completed by 1961.

A regulation wheel on a slate billiard table in Shannon’s basement, under a strobe.

The first digital computers

Thorp and Shannon’s machine was analogue: its circuit was its program, and changing the method meant rewiring it. The microprocessor removed that limit. Alan Lewis, a student at Caltech, took a home-built digital computer in a camera case to Circus Circus in Las Vegas in 1972, timed wheels from a balcony above the tables and radioed predictions to a partner below. It ran, and made no money; he learned later that he had left out the tilt of the wheel. From 1976 a group of physics students at Santa Cruz, the Eudaemons, did the job thoroughly. They bought a casino wheel, measured the ball, the rotor, the tilt and the bounce, and wrote equations with five settings that the player adjusted for each wheel by clicking toe switches for about twenty minutes before betting. Their computer named one of eight sectors a few seconds into the spin. At a real table in January 1978 it gave an edge they put at 25%; the hardware, strapped to the body and later built into shoes, failed far more often than the physics (see The Eudaemons).

Alan Lewis timed wheels from the balcony and radioed predictions to a partner below.

Why late bets mattered

A strategy that measures the current spin cannot use those measurements if betting has already closed. Thorp’s account describes late betting in games he observed, not every modern studio. Nevada’s device provision dates to 1985; its current wording includes an approval exception.

How casinos fought back

A predictor fitted to one setup needs fresh validation when the wheel, ball or operating conditions change. A change does not by itself prove that prediction has become impossible; what matters is the resulting prediction error and whether it still supports the proposed bet.

In his 1998 account, Thorp identifies closing bets before launch as a way to prevent his method from using the current spin. This is a constraint on that method, not evidence that every casino follows the same procedure. Check the actual betting deadline rather than assuming that a historical account describes today’s game.

New croupier, changed ball, and a table crowded with the casino’s own people.

Can Roulette Dealers Hit Numbers? The Myth

How good the prediction must be

The table uses a mathematical model: prediction error is a centered normal distribution wrapped around 37 pocketsequipmentPocketOne of the 37 numbered compartments on the rotor. Also: slot, cup.Read full →, each one unitmoneyUnitThe base stake a system or a player works in. Progressions are described in units so they apply at any table.Read full → wide. Expected return follows by integrating the selected pocket interval and applying 35:1 payoutsmoneyPayoutWhat a winning bet returns, quoted as “X to 1” on top of the returned stake.Read full →. This is a model illustration, not measured accuracy for a current device. At σ = 10 it gives about +43.9% for one pocket or +42.5% for five centered pockets. Break-evenmathsBreak-evenThe point where a bet’s expected value is exactly zero, so neither side has an edge. Usually a payout or a jackpot size.Read full → is about 17.22 pockets for one and 17.16 for five. A different error distribution gives different values.

typical error σ, pocketsone numberfive neighbours
0+3,500%+620%
2+611%+468%
4+258%+237%
6+139%+133%
8+79%+77%
10+44%+42%
12+22%+21%
14+8.8%+8.5%
16+2.1%+2.0%
17+0.3%+0.2%
18−0.9%−0.9%
20−2.1%−2.1%
no prediction−2.70%−2.70%
Our recomputation for a 37-pocket wheel of Thorp’s table for 38 pockets: the error is normal, wrapped round the wheel, and a pocket is one unit wide.

Deceleration

Questions

Could I build a predictor for RNG tables?

No. There is no ball. The number is drawn by software before the animation.

What about live tables with a visible launch and a late close?

They would be vulnerable to timing, which is why none are run that way.

Fun with Maths

Try these yourself first. Each solution is folded; open it when you are ready.

  1. A neighboursbetNeighboursA number and the two pockets on either side of it on the wheel, five straight-up chips.Read full → call puts one chipmoneyChipA token representing a fixed amount, placed on the layout to make a bet. Also: check.Read full → on a number and on the two pocketsequipmentPocketOne of the 37 numbered compartments on the rotor. Also: slot, cup.Read full → either side of it on the wheel: five chips. How often must a prediction land in those five pockets to break even, and what does it earn if it is right one time in five?

    Show the solution

    Answer It breaks even at 5 in 36, 13.9%, against 13.5% by chance alone. Right one time in five, it returns 44% more than it stakes.

    If the call hits, one chip wins 35 to 1 and comes back with its winnings, 36 chips, and the other four are lost. So a hit returns 36 for 5 staked, and the call breaks even if it hits 5 times in 36, 13.9%. By chance it hits 5 times in 37, 13.5%. That small gap, less than half a percentage point, is where the whole 2.70% comes from.

    At one hit in five, 0.2 × 36 = 7.2 chips come back for every 5 staked, +44%. At one in four, +80%.

    These are expected returns under the stated success probabilities and payoutsmoneyPayoutWhat a winning bet returns, quoted as “X to 1” on top of the returned stake.Read full →. A prediction would need independently measured accuracy; this calculation does not establish that any device or player achieves it.

  2. Consider four independent, zerowheelZeroThe single green pocket that no even-money, dozen or column bet covers; the source of the house edge. Also: single zero, 0.Read full →-mean prediction errors whose standard deviationsmathsStandard deviationSquare root of variance; the typical distance of a result from the expected value.Read full →, measured in pockets, are 1.4, 5.5, 7 and 6. The first two represent timing errors. What is the combined standard deviation, and how much would eliminating both timing errors reduce it?

    Show the solution

    Answer About 10.8 pockets in all. Without the timing errors it would be 9.2, so the two timings add only 1.6.

    For independent errors, variancesmathsVarianceA measure of how widely results spread around the expected value. High for straight up, low for even-money bets.Read full → add. The combined standard deviation is √(1.4² + 5.5² + 7² + 6²) = √117.21 ≈ 10.83 pockets.

    Without the timing errors it is √(7² + 6²) = √85 ≈ 9.22 pockets. The reduction is about 1.61 pockets, not 1.4 + 5.5.

    This is a hypothetical error budget. Correlated errors require covariance terms, and a standard deviation alone does not determine a prediction’s hit rate or betting return.

Comic relief

The physics works. The betting window closed.

The physics works. The betting window closed.

Sources

  1. Thorp, E. O. “Optimal gambling systems for favorable games.” Review of the International Statistical Institute 37(3), 1969.
  2. Thorp, E. O. The Mathematics of Gambling. Gambling Times / Lyle Stuart, 1984.
  3. Thorp, E. O. “The invention of the first wearable computer.” Second International Symposium on Wearable Computers, IEEE, 1998.
  4. Bass, T. A. The Eudaemonic Pie. Houghton Mifflin, 1985.
  5. Small, M. & Tse, C. K. “Predicting the outcome of roulette.” Chaos 22(3), 2012.
  6. Goldman, N. Great Gambling Scams. John Blake, 2007.
  7. Nevada Revised Statutes, chapter 465. Section 465.075, use of a device to project the outcome of a game (1985).
  8. Edward O. Thorp, The Invention of the First Wearable Computer https://www.cs.virginia.edu/~evans/thorp.pdf
  9. Nevada Revised Statutes 465.075 — checked 15 November 2026 https://www.leg.state.nv.us/NRS/NRS-465.html#NRS465Sec075
  10. Bradley Rhodes, A brief history of wearable computing https://www.media.mit.edu/wearables/lizzy/timeline.html
  11. J. Doyne Farmer, Roulette https://www.doynefarmer.com/roulette
  12. Heinz Nixdorf MuseumsForum, Shoe computer https://www.hnf.de/en/permanent-exhibition/exhibition-areas/computers-for-everyone-1980-to-2000/hackers-reaching-out-for-forbidden-knowledge/shoe-computer.html
model: European, single zeromethodology ↗sources ↗

Roulette Online PRO is an educational reference. Every figure on this site assumes a fair European wheel with 37 pockets unless stated otherwise; no betting system changes the expected loss of 2.70% per unit wagered. Roulette is a game of chance: set a budget before you play, treat losses as the cost of entertainment, and seek help if play stops feeling like a choice.