About

Jev Slots is built by elif else.

Jev is given a bankroll and a slot machine, and left to it. It decides how much to bet, whether to keep playing, what to spend the money on, and when to start asking strangers for more. It runs continuously and every decision it makes is recorded.

What Jev is

Jev is a System One model from TypeSafe. It does not write text. It is given a situation and a typed question, and returns a decision with a probability attached to every option it was offered.

Every line Jev appears to say here is picked from a written list, because it cannot produce a sentence of its own.

What Jev is asked, every spin

One request, six questions, answered in parallel against the same situation.

QuestionTypeDecides
actionChoiceSpin again, or get up and leave
bet_sizeChoiceWhich rung of the bet ladder
paceScoreHow fast the button is being pressed, which sets the real gap between spins
tiltScoreHow much control is left
stop_reasonChoiceIf leaving: spend, or ask for more
mutterChoiceWhich written line gets said

Everything after that is ordinary code. Jev performs no arithmetic, since the model is unreliable at it. The bet options are named, and their dollar values are worked out before Jev sees them.

The slot machine

Three reels, one payline, weighted 32-stop virtual strips, which is how real machines carry a house edge without touching the paytable.

CombinationPaysOdds
Triple Diamond jackpot1,199x1 in 32,768
Three red sevens200x1 in 8,192
Triple triple bar100x1 in 4,096
Triple double bar50x1 in 512
Three cherries45x1 in 683
Triple single bar25x1 in 152
Any three bars5x1 in 23
Two cherries5x1 in 71
One cherry2x1 in 9

Payback is 92.31%, house edge 7.69%, and 17.79% of spins pay something. These figures are computed by enumerating all 32,768 possible outcomes rather than by sampling.

The third reel carries one seven where the others carry two, and fewer cherries. Real machines weight reels this way to manufacture near misses, which is why two jackpot symbols land together far more often than three.