# 🎲 Rolling the Dice: Second Game Component Ready > ChainHackers Weekly - Developer Notes Entry #3 **Published by:** [ChainHacker](https://paragraph.com/@chainhacker/) **Published on:** 2025-06-09 **Categories:** betswirl, sdk, devtools, web3 **URL:** https://paragraph.com/@chainhacker/rolling-the-dice ## Content This week, we didn’t just roll the dice—we shipped it. DiceGame is live, and it’s the second fully working, on-chain BetSwirl game component we’ve added to the SDK.Brainpower BonusWe got backup: a core dev from BetSwirl joined the party and walked us through how to structure React hooks for cleaner, custom UI integration. Hooks, providers, separation of concerns—it clicked. Expect a blog post or recipe guide soon, especially for those building skins and extensions.Visual BoostWe added a bunch of new backgrounds—ranging from tasteful to completely chaotic—and started putting Playwright + Synpress to work for proper E2E tests. It’s no longer just a weekend project; we’re locking in real infra.The GamePick a number from 1 to 99 and bet that the dice will roll under it. Pick 20? You’ve got a 20% chance of winning ~5x. Pick 80? You’ve got an 80% chance of winning ~1.25x. Classic high risk vs low risk.One SDK, Two GamesDiceGame follows the same architecture as CoinToss. Same GameFrame, same theming system, same usePlaceBet logic behind the scenes. Swapping games is as simple as changing one component name. Yes, you can render both in the same app. Who’s It For?We’ve seen interest from memecoin communities, token projects, and even DeFi dashboards. The use case is always the same: plug in a game, give users something fun to do, and earn a revenue share without building a casino from scratch. Each game call is fully on-chain, randomness is handled by Chainlink VRF, and users can verify every outcome.Where We Are NowStorybook hosts both games with full theme toggles and wallet integration. Want to test them? Go for it. The SDK is nearly package-ready—we're preparing the npm release and polishing the final DX.Coming Up📦 npm packaging + docs💱 Token selector (currently only ETH)🎯 Next games: Roulette + Keno📱 Farcaster frame experimentsWe’re still early, but getting more confident with each release. Curious what the web will do with on-chain games this easy to drop in. Try the games: Storybook linkWant to build with us? Ping us anytime: Twitter: https://x.com/ChainHackerClan Farcaster: https://farcaster.xyz/chainhacker ## Publication Information - [ChainHacker](https://paragraph.com/@chainhacker/): Publication homepage - [All Posts](https://paragraph.com/@chainhacker/): More posts from this publication - [RSS Feed](https://api.paragraph.com/blogs/rss/@chainhacker): Subscribe to updates - [Twitter](https://twitter.com/ChainHackerClan): Follow on Twitter ## Optional - [Collect as NFT](https://paragraph.com/@chainhacker/rolling-the-dice): Support the author by collecting this post - [View Collectors](https://paragraph.com/@chainhacker/rolling-the-dice/collectors): See who has collected this post