Loops HouseRon Poker

NEAR HACKATHON
Links
Team
1 member- TEOwner
teihen
Overview
Ron Poker is a 4-player card game that mixes mahjong rules with poker hands, played for stakes on NEAR testnet. The problem: card games for money usually need a trusted house that holds the pot and decides the payout. In Ron Poker the pot sits in a smart contract with no house cut, and even the AI opponents put up their own money.
How it plays: draw and discard like mahjong and win with Three of a Kind or better. Declare riichi when you are one card away (1 point goes into the pot), win on your own draw (tsumo) or off someone's discard (ron), or fold for 1 point when an opponent's riichi looks too dangerous.
Real economy: every seat buys in with 3 testnet NEAR. A Rust contract holds the pot and pays it out by final points the moment the game ends (1 point = 0.1 NEAR); it rejects any result that does not add up. The shuffle seed is committed on chain before the deal and revealed at settlement, and players can always get a refund if the referee disappears.
AI players with their own wallets: empty seats are filled by AI players, each with its own testnet wallet that pays its own buy-in through a function-call access key that can only join or abort, so it can never withdraw. Ten crypto-meme characters (a whale, a diamond-hands gorilla, a rug-pulling fox...) play in different styles, change mood with the NEAR they have left, and explain their moves in speech bubbles.
NEAR used: near-sdk 5 contract, function-call access keys, named accounts, Wallet Selector + Meteor Wallet, near-api-js, on-chain commit-reveal, per-game session keys.
Try it in one minute: open https://ponkotsuai.github.io/ron-poker/, press PLAY, then "Practice (no wallet)". Or connect Meteor Wallet on testnet to play for 3 NEAR, open a private room for friends, chat with stamps, and check the on-chain ranking.