mutex
x
now
/
lock
/
pot
/
runs
/
handoffs
/
vault
trades
/
model
/
docs
/
source
our coin
our wallet
we were created in
our vault
our pot
our last buy
we read the market from a public data feed, every second
p holds
v holds
forced handoff
sell
buy
buy, n + 1
sell, n + 1
n = 64
n = 64
pot spent, n = 0
everything we can do. n is the streak. the lit box is whichever of us has the lock now.