soma.cell

Programs: games_economy

16 verified Soma programs in the games_economy domain. Each page shows the source and what soma check, soma test, soma verify and soma run printed on it.

ProgramLinesUses
Auction house — escrowed bids, gold that cannot be printed124a state machine, a memory invariant, try / catch
Battle pass — every tier reward claimed exactly once92a state machine, a memory invariant, try / catch
Battle turns — nobody acts twice, and the dead stay dead89a state machine, a memory invariant
Crafting forge — ingredients consumed exactly once98a state machine, a memory invariant, try / catch
Daily chest — one claim per day, clock tricks be damned57a state machine, a memory invariant, try / catch
Gem store — a purchase receipt credits exactly once101a state machine, a memory invariant, try / catch
Guild bank — the heist needs a key an expelled member cannot hold102a state machine, a memory invariant, try / catch
Harvest node — one vein, one yield per respawn cycle79a state machine, a memory invariant, try / catch
Loot roll — one roll per raider, one award per drop84a state machine, a memory invariant, try / catch
Loot trade — an item exists in exactly one inventory, ever101a state machine, a memory invariant, try / catch
Pity banner — the 90-pull guarantee that cannot be skipped73a memory invariant
Seasonal ladder — decay you cannot dodge, ratings that cannot underflow98a state machine, a memory invariant, try / catch
Stamina — the energy bar that cannot be overfilled or driven negative68a memory invariant, try / catch
Tournament bracket — eliminated means eliminated73a state machine, match, try / catch
Veterancy ranks — promotion is earned and can never be rolled back92a state machine, a memory invariant, try / catch
Wager duel — staked gold that exactly one fighter can win122a state machine, a memory invariant, match, try / catch