C++ Β· icpp-pro Β· Internet Computer

Games that run inside a smart contract.

Famous C++ engines, compiled to WebAssembly and running on-chain: every chess move and every golf shot is computed by 13 independent computers that have to agree on it. No server. Nothing to install, no wallet needed to play.

πŸ”₯
0day streak
Play any game today to start a streak
Rank: Bit Β· 0 XP
Chess games
–
refereed on-chain
Golf today
–
rounds played
Fuel tank
–
moves left for everyone
Compute today
–
of the daily allowance

The games

Proof of run Β· the same C++ in your browser and on-chain

Chain Dash NEW

Run, jump, stomp the glitches. You play with zero lag; at the flag, 13 computers play your whole run again before your time counts. A new level every day: keep your streak.

Run β†’
Stockfish 11 Β· ~12,000 lines of C++

Chess against Stockfish

The strongest open-source chess engine. The canister checks your move, searches millions of positions for its reply, and stores the game forever, with a receipt for every move.

Play β†’
Box2D 2.4.2 Β· the physics engine behind Angry Birds

Chain Golf

One hole a day. Your browser only sends an angle and a power; the canister simulates the shot, so the leaderboard can't be faked, and anyone can have it recompute any shot.

Play today's hole β†’
Bullet 3.25 Β· the 3D physics engine from GTA V

Chain Mini-Golf NEW Β· 3D

A 3D hole a day, windmill included. Every putt is simulated by Bullet in the canister and drawn with WebGL; the browser never decides where the ball goes.

Putt β†’

β›½ Fuel the chain

Free for everyone, thanks to one shared fuel tank

Every move you play takes a little computing power. One shared tank pays for everybody, so there are no ads and no sign-up. If it runs dry, the games pause. Add a little ICP to keep them going for everyone.
In the tank
–
 
  1. Send ICP (0.12 or more) from any ICP wallet, like your funnAI wallet or the NNS app, to:
    ne5l7-xiaaa-aaaaj-qsm3q-cai
    Sending from an exchange? Exchanges want an account ID. Use this one:
    460d1214503541468865ef7728ed17cf6e232585e6898a8d1626230ffa8e2cc7
  2. Tap Top up. Your ICP goes into the tank in a few seconds.
How it works
The games run on the Internet Computer, where computing is paid in cycles. When you tap Top up, Play the Chain buys cycles with your ICP from funnAI GameState, which delivers them straight to the game. Every move then spends a few of them.

πŸ“£ From the feed Β· see all

Loading what players posted…

How it works

01C++, unchangedStockfish, Box2D and Bullet are compiled to WebAssembly with icpp-pro. Their engine code isn't rewritten.
0213 computers agreeEach move or shot runs on all 13 nodes of an Internet Computer subnet, and the result is agreed by consensus.
03The game paysCompute is paid in cycles from the canister's own balance (reverse gas), so players need no wallet and pay nothing.