PikoPoker – fully on-chain Texas Hold'em on ICP

Hello everyone :waving_hand:

I recently built PikoPoker, a No-Limit Texas Hold’em game that runs entirely on the Internet Computer. The game logic, the shuffle and the chips are all in a canister, with no off-chain server.

What is PIKO?
PIKO is a proof-of-work token on ICP. It has a fixed max supply of 21M and Bitcoin-style halvings, and anyone can mine it from their browser or with the native miner that use CPU/GPU.

https://forum.dfinity.org/t/piko-a-new-fair-launch-automated-proof-of-work-token/75175

Poker powered by mining
Every mined block pays a small ICP fee. Part of it is burned, and part is converted into cycles that automatically top up the ecosystem’s canisters, including this poker game. In other words, the miners keep the poker game running with no manual intervention.

:play_button: Play: https://2uuxi-qyaaa-aaaac-qhbyq-cai.icp.net/
:speech_balloon: Find players: https://oc.app/community/wmyvh-faaaa-aaaaf-br6za-cai

Tables

  • 4 Free Play tables: no buy-in, just log in and play
  • Micro: blinds 0.5/1 PIKO, buy-in 100 PIKO
  • Low: blinds 5/10 PIKO, buy-in 1,000 PIKO
  • High: blinds 50/100 PIKO, buy-in 10,000 PIKO
  • Private tables you can share with friends through an invite link

How it works

  • Up to 6 players per table, with a 30-second action timer
  • Inactive or busted players are removed automatically, so seats don’t stay blocked
  • Decks are shuffled with the IC’s on-chain randomness (raw_rand)
  • Hole cards are only returned to their owner, so other players can’t query them
  • PIKO buy-ins are held in escrow by the canister through ICRC-2
  • No rake at the moment

The tables are more fun with more people, so drop a message on the OpenChat if you want to play and we’ll set up a game. Feedback and bug reports are very welcome :folded_hands:

Can we win $BOB on this game?

BOBtards love to gamble

Thanks for the interest! For now it’s PIKO only, and that’s on purpose.

PIKO mining is what funds the cycles that keep the poker app canisters running, and that’s what will eventually let the whole thing run on its own without me.

If I added BOB, players would just use BOB instead of PIKO. Fewer people would mine PIKO, and the poker site would be less able to cover its own hosting costs. Accepting other tokens would work against the very thing that keeps the game alive.

BOBtards are very welcome to gamble with PIKO though :grinning_face_with_smiling_eyes: Mine or buy some and come take a seat!

Rather play GG TBH (and more charactersssssssssssss)

very cool! you consider reaching out to the oc team and seeing if theyd be interested in integrating it into the chats?

I once looked into how embedded channel would work in OC, it seems to lack the support of a stable identity. Would be totally confusing if the 3rd party site requires another login.

wasnt even thinking embedded channel, was thinking native like polls, prize messages n swapping

This is interesting. Built-in OpenChat channel features?