PokerBo
2024
// Overview
PokerBo is a browser-based card game combining the hand-ranking logic of poker with the dice-rolling mechanics of Sicbo. The entire game loop — deal, bet, reveal, evaluate, payout — runs client-side in vanilla JavaScript. No framework, no build step: the game state is a plain JS object updated by event handlers. Ships with a chip-based betting system that handles raise, fold, and all-in states correctly.
// Challenges
Merging the rule sets of two distinct games into a coherent experience without making the result feel arbitrary. The win-condition evaluation had to handle card rankings, dice outcomes, and their interaction in a single pass. Implementing complex betting state (pot tracking, side pots, fold detection) in vanilla JS without the state management tools of a modern framework required disciplined event handling.
// Outcomes
A fully playable game with a live demo at finneh.xyz/pokerbo. Good exercise in game loop architecture and client-side state management without framework scaffolding.