programgames/horse-race/horse-race.xtl
ᵘr̲ace : Int -> Int
A whole race: a round at a time until a horse finishes; each round printed as its rolls, then the track.
ᵘr̲ace ← { p → r ← p̲rint! ʰʳr̲oll p q ← p ʰʳm̲ove r shown ← p̲rint! ʰʳv̲iew q 1 = ʰʳs̲tatus q ? q◆ ᵘr̲ace q }