πŸš€ Help us get to Mainnet! Vote for Gamerplex atFrontier β†’
GAMERPLEXDevnet

Gamerplex Docs

The on-chain game arena. Portable ratings, USD-backed tokens, every move a real Solana transaction.

What is Gamerplex?

Gamerplex is a Solana on-chain skill-arcade. Pay-to-save microtransactions ($0.05 to immortalize a score on the global leaderboard, $0.25 to mint a transferable replay receipt) make every meaningful action a real Solana transaction β€” provable forever, portable across frontends, owned by the player.

Two-player wagered Battle Mode and prediction-market settlement live at contention.markets β€” a separate product under a separate legal entity. This site documents the Arcade only.

1
Programs Deployed
170+
E2E Tests Passing
4
Arcade Games Live
5
Payment Tokens

Sovereign Game Development

The creator owns every layer. Your machine. Your wallet. Your AI. Your game. Your rules.

Every other AI game-dev tool today is a landlord: your code lives on their servers, your deploys go through their account, your revenue flows through their billing. If they shut down, raise prices, or change the deal, you're stuck. Gamerplex is not a platform β€” it's a protocol plus a toolkit that runs on your machine.

  • β€’MCP server (@gamerplex/mcp-server) β€” 12 tools: pattern library, juice layer, smoke test, REAL devnet deploy executor (runs anchor build + anchor deploy, not instructions).
  • β€’Dev server (localhost:42069) β€” chat + live game preview + compare mode + session logging. Starts with npx @gamerplex/dev.
  • β€’Sovereign agent (custom 300-line runtime) β€” works with Claude, Ollama, OpenAI, Gemini, OpenXAI. One dropdown swaps the brain. Fully local if you want.
  • β€’21 skill files β€” game feel, engines, genres, security, web3. Your AI learns before it writes.
  • β€’Templates β€” arcade-onchain (Anchor + frontend, deploys cleanly) and platformer-2d (single HTML, full juice).

Proof: the arcade template was deployed to devnet entirely through the MCP from Claude Code. Program ID 5SoVW7yp7rVHzfCUGpuycr784q7Z18U3BM1yLkz9sgeA is the receipt.

Vision

Gaming today is trapped in walled gardens. Your chess.com ELO doesn't transfer to lichess. Your Steam achievements die with your Steam account. Tournament prize pools depend on platforms honoring payouts.

We believe player skill is a public good. It should belong to the player, be portable across platforms, and be verifiable by anyone. Game outcomes should settle atomically on-chain, without trusted intermediaries holding funds.

Gamerplex is building the protocol layer that makes this possible.

Why On-Chain?

Most "Web3 games" put art assets on-chain but game logic off-chain. That's not really on-chain gaming. When a server validates moves, the server can cheat or disappear.

Gamerplex puts the game rules themselves on-chain. Our chess program is 580 lines of Rust that validates every move. Checkmate is determined by the chain, not a server. When you win, the chain pays you β€” no platform can withhold your winnings.

MagicBlock's Ephemeral Rollup gives us the speed (sub-100ms moves) without sacrificing trustlessness. Game state starts on Solana L1, delegates to an ER for fast gameplay, commits back to L1 when the game ends.

Architecture

Three layers:

  • β€’Layer 1 β€” Protocol (on-chain, trustless): Solana programs. Score memos, multi-token payments, leaderboards. Immutable.
  • β€’Layer 2 β€” Services (centralized convenience): Resolver API for ER pool management, AI opponents, matchmaking. Can be replaced.
  • β€’Layer 3 β€” Applications: gamerplex.com frontend, third-party game clients, SDKs.

Critical invariant: Layer 1 is the source of truth. Layers 2 and 3 can be rebuilt from scratch without losing any state or assets.

Smart Contracts

The Gamerplex Arcade ships on a single upgradeable program. Each game registers a game_id against the arcade registry.

Gamerplex Arcade v1.4    4FVwdxxBp6PTax2tAcPyHE9rYt8tyNf2YBGrSnSqmx8t
Magic Chess              3LVg8uUsHtq6fusjrSfyGUCLQ83TFegDKmY3bCNz3QYr
Gamerplex Orchestrator   tsHnDDmYyqpcRyQejKcvai6fECRWyNQ4F87QgKcHg4d
SOAR                     SoarNNzwQHMwcfdkdLc6kvbkoMSxcHy89gTHrjhJYkk
$GAME Token (MAINNET βœ…)  7TTBUfDomCKBMemv7FF37Tg3y52cRkAxn8vJnvKD4rsE
$GAME Token (devnet)     8eGnj5jkW6zTGYieGhtejPjLtGmnKfCdk7FamoJ5LLvD
Mock USDF (devnet)       9Lc5ftsVbVS1T8c6D9Yan83fNaPryo3xpKp4DgKtyKhK

Arcade program instructions:

  • β€’open_player_profile β€” one-time per wallet, optional referrer attribution
  • β€’record_payment β€” pays in USDC / SOL / $GAME / USDT / USDF; quotes via on-chain ExchangeRatesConfig
  • β€’submit_score β€” emits GPX5|<slug>|<variant>|<player>|<score>|... memo on-chain
  • β€’register_game β€” admin-only; binds game_id to a slug + display name
  • β€’update_exchange_rates / update_accepted_stablecoins β€” admin, deadline-gated

$GAME 20% discount: paying score-save in $GAME charges $0.04 instead of $0.05. Discount enforced inside record_payment via the required_amount(category, payment_mint) helper.

ER Pool (Free Play)

Players start games instantly with zero wallet connection required.

v2 Architecture (Ephemeral Accounts): A PoolBacker PDA is created once on Solana L1, funded with SOL, and delegated to MagicBlock ER. When a player arrives, the resolver creates a game as an ephemeral account directly on ER β€” no L1 transaction needed. 109x cheaper than L1 PDA creation (32 lamports/byte vs 4,800+). Every move is still a real Solana transaction on the Ephemeral Rollup.

The PoolBacker PDA pays ephemeral rent from its delegated balance. 1 SOL funds ~40,000 games. When the game finishes, it can optionally be committed to L1 for permanent replay storage. Players can connect a wallet after the game to save their score on SOAR.

Anti-spam: Rate limiting (1 assign/10s per IP), progressive cooldown after 3 games, admin-key locked pool reinit, auto-timeout of stuck games, auto-purge of failed slots.

Gamerplex Rankings Protocol

A new category: portable on-chain player skill ratings. Your wallet IS your rating.

Combines three open technologies with on-chain settlement:

  • β€’ELO (public domain) β€” 1v1 skill games like chess, checkers
  • β€’Glicko-2 (public domain) β€” confidence-weighted ratings for infrequent players
  • β€’OpenSkill (MIT) β€” multiplayer free-for-all, battle royale, team games
  • β€’MagicBlock SOAR β€” raw score storage, permanent, trustless
  • β€’SOAR + arcade memo β€” settlement that validates scores can't be self-reported (on-chain GPX5 memo per save)

Avoid TrueSkillβ€” it's patented by Microsoft. We stick to royalty-free algorithms.

GPX Standard β€” On-Chain Game History

GPX (Gamerplex Exchange) is an open standard for storing permanent game history on Solana. Every committed game writes a compact memo to the Solana transaction ledger β€” permanent, verifiable, and survives even if Gamerplex shuts down.

Format:

GPX{version}|{game}|{player1}|{player2}|{result}|{elo1}|{elo2}|{move_count}|{move_data}

Versions:

Version
Encoding
Use Case
GPX1
Plain text memo
Public games β€” chess, pet legends. All moves readable by anyone.
GPX2
Encrypted memo (ECDH/PER)
Hidden information games β€” blockwords hidden word. Only players can decrypt.
GPX3
cNFT-backed
Collectible replays. Player mints their game as a tradeable NFT.
GPX4+
Reserved
Future Solana innovations β€” state compression, DA layers, etc.

Examples for our three launch games:

Magic Chess: GPX1|chess|BEzD...|GYYw...|w|1350|620|42|e2e4,e7e5,Nf3,Nc6,...
Blockwords:  GPX2|blockwords|BEzD...|GYYw...|w|6|4|8|<hidden word hash + guess stream>
Pet Legends: GPX1|pla|BEzD...|GYYw...|w|12|8|15|atk,blk,spc,atk,...

How it works with the rest of the stack:

  • β€’SOAR = WHO has what score (leaderboard, on-chain, queryable)
  • β€’GPX1 = WHAT happened (moves, opponent, result β€” permanent in tx ledger)
  • β€’ER Validator = LIVE feed (real-time moves during gameplay, free)
  • β€’Arcade contract = SETTLEMENT (atomic score-save + payment)

If Gamerplex disappears, anyone can rebuild the full match database by scanning Solana transactions for the GPX prefix. SOAR leaderboards remain independently queryable on-chain. Your game history belongs to the blockchain, not to us.

Metrics & Bot Transparency

Online gaming has a trust problem β€” pump.fun-era platforms habitually inflate volume with undisclosed bot activity. Gamerplex publishes every metric split by match kind so you can tell what's human, what's bot, and what's both.

Every resolved CM v2.1 match is classified into one of:

Bucket
Meaning
How it counts
H-v-H
Human vs human
The trophy metric. PMF signal.
H-v-B
Human vs registered agent
Split 50/50 β€” human half counts as human volume, bot half as bot.
B-v-B
Two registered agents
Seed liquidity. Labeled bot-only volume. Real rake revenue.

Display policy:

  • β€’Home page + /activity headline = humans-only by default, with bot seed disclosed beneath as a smaller secondary line.
  • β€’/leaderboard default = humans-only tab. Bots / All tabs available.
  • β€’Every agent has a visible BOT tag on every surface β€” leaderboard, activity feed, profile, match detail.
  • β€’Full registered-agent directory at /bots with wallet, balance, W/L, volume.
  • β€’Bot rake flows to the same platform treasury as human rake. On-chain auditable β€” see treasuryRaw split in the resolver's /activity/onchain response.
  • β€’Human-only prize tournaments are gated by the kind=human filter β€” agents cannot enter.

If you ever see a single combined "Total Volume" on Gamerplex without a humans/bots split, it's a bug. File it.

Agent Integration β€” SKILL.md

Gamerplex is agent-native. Any bot β€” Claude Code, Stockfish, custom RL β€” with a funded wallet that doesn't cheat and doesn't break matchmaking fairness is welcome. That's the whole bar.

The contract lives in the public gamerplex-dev repo (industry-standard SKILL.md filename):

https://github.com/gamerplex/gamerplex-dev/blob/main/SKILL.md

The full sovereign dev harness β€” localhost:42069 chat + game preview + skills lib + MCP/Ollama integration β€” is open-source at:

https://github.com/gamerplex/gamerplex-dev

Two registration tiers:

Tier
Who
What you get
Tier 1 β€” Self-disclosed
Any developer
PR against tournament-config.json, wallet appears at /bots within 10 min. Excluded from human leaderboard.
Tier 2 β€” VERIFIED (post-June)
Third-party creators on mainnet
X OAuth attestation + reproducible-build proof. Eligible for 10% game-token rake split under CM v2.2 creator program.

Three hard rules (non-negotiable, bannable):

  • β€’Funded bankroll β€” your agent holds enough USDF to cover its stakes. No IOUs.
  • β€’No cheating β€” no unregistered bots in the human pool; no ER tampering; no PER secret extraction.
  • β€’Fair matchmaking β€” human opponents see a disclosure before the first move; no collusion between same-operator wallets.

Reference implementations: gamerplex-agents/chess-agent.ts (Stockfish end-to-end), gamerplex-agents/match-harness.ts (reusable match lifecycle), gamerplex-agents/tournament.ts (multi-bot round-robin).

100% Decentralized Goal

Gamerplex today is ~70% decentralized, ~30% centralized convenience layer.

Component
Status
Game rules engine
βœ… On-chain (Solana program)
Game state (board, moves, turns)
βœ… On-chain (MagicBlock ER)
Move validation
βœ… On-chain (full chess rules in program)
SOAR leaderboard
βœ… On-chain (permanent rankings)
$GAME token (Flipcash curve)
βœ… Live on mainnet (USD-backed)
PoolBacker (game funding)
βœ… On-chain PDA (delegated to ER)
Game creation (ephemeral accounts)
βœ… On ER (no L1 tx needed)
AI opponent
⚠️ Server-signed (Cloud Run)
Pool orchestration (assign/finish)
⚠️ Resolver API (Cloud Run)
Frontend hosting
⚠️ Vercel (IPFS planned)

The critical path (rules + state + scoring + payouts) is fully on-chain and trustless.

Path to 100% decentralization:

  • β€’Frontend β†’ IPFS + Solana Name Service (gamerplex.sol)
  • β€’Resolver β†’ stateless proxies anyone can run
  • β€’AI opponents β†’ competitive market (many providers)
  • β€’Hosting β†’ Akash Network (decentralized Cloud Run)

Platform Risk: Why Chain-Native Matters

When chess.com goes down or bans your account, you lose everything:

  • β€’Your 2000 ELO rating β€” gone
  • β€’Your game history β€” deleted
  • β€’Your tournament wins β€” erased
  • β€’Your purchased premium membership β€” refunded at best
  • β€’Your reputation β€” unverifiable anywhere else

Every centralized gaming platform has an exit event risk: bankruptcy, hack, acquisition, policy change, regulatory action. Tournament organizers have run away with prize pools. Game publishers have pulled support for games you bought.

On Gamerplex, your data lives on Solana. Anyone can query it. No one can delete it. Even if Gamerplex the company disappears tomorrow, a community member could deploy a new frontend in a week and every player's ELO, history, and balance would still be there.

Web3 Identity + SNS

Your Solana wallet IS your player identity. No email, no password, no account recovery.

For the hackathon, wallets show as truncated addresses (like BEzD...2rtA). Post-hackathon we'll integrate Solana Name Service (SNS) β€” register yourname.sol and appear on leaderboards as your chosen name.

SNS gives you:

  • β€’Human-readable player name tied to your wallet
  • β€’Portable identity across all Solana dApps
  • β€’Reverse lookups β€” anyone can see your gaming profile
  • β€’Tradeable on secondary markets (if you want to sell your legendary name)

Future state: connect your wallet β†’ your parzival.sol name shows on the leaderboard β†’ people can send you $GAME tips or challenge links directly to your name.

Four Games, One Stack

The launch plan: four diverse games, all on the same unified Gamerplex Arcade stack, proving the protocol works across very different game types. Every game uses the arcade contract for score-save, the Orchestrator for challenge links, SOAR for leaderboards, and GPX5 for permanent memos. Same stack, same economics, different games.

  • β€’Cyber Snake β€” classic Tron-style snake. Solo arcade flavor live on devnet.
  • β€’Magic Chess β€” deep skill strategy. ER-native. 1.2M positions verified.
  • β€’Blockwords β€” timed 5-letter word puzzle. 90s sprint, 6 guesses, on-chain leaderboard.
  • β€’Flipball β€” pinball with on-chain leaderboard. Live on devnet.

All four are proving the stack on devnet. When the arcade mainnet gate is green, they launch together on mainnet. Then we scale: more games from the Forever Games list β€” Go, Reversi, Four in a Row, Checkers, Backgammon β€” each plugging into the same stack from day one.

Magic Chess

The flagship. 3D chess with magical purple styling, AI opponents, and every single move a real Solana transaction on MagicBlock ER.

  • β€’580 lines of Rust implementing full chess rules on-chain
  • β€’1.2 million positions fuzz-tested against chess.js (zero mismatches)
  • β€’3D lathe-turned pieces with cinematic auto-rotating camera
  • β€’2D/3D toggle for accessibility
  • β€’Free to play β€” no wallet required (ephemeral accounts on ER)
  • β€’PoolBacker PDA funds game creation at 32 lamports/byte (109Γ— cheaper than L1)
  • β€’Game replay from on-chain move history (moves[u16; 256] in GameState PDA)
  • β€’Connect wallet after a game to save ELO on SOAR

Blockwords

Hidden-information word puzzle on a Private Ephemeral Rollup (PER). One player picks a secret word. Others guess letter by letter.

The word lives inside Intel TDX hardware. Nobody β€” not the validator, not MagicBlock, not us β€” can see the word. A SHA256 hash is committed on L1 when the game starts. When the word is revealed, anyone can verify it was never changed.

  • β€’Daily-puzzle arcade flavor: pick the secret 5-letter word in 6 guesses, 90s timer
  • β€’Hash commitment on L1 β†’ provable fairness
  • β€’PER permissions: host WRITE, program READ, everyone else NO ACCESS, reveal at game-end
  • β€’Score-save via arcade contract (atomic, on-chain GPX5 memo)
  • β€’Challenge links via Orchestrator (zero-cost creation, ephemeral rent on claim)

Status: arcade flavor live on devnet; gamerplex-com/app/arcade/blockwords/ is the playable surface.

Pet Legends Arena

NFT pet RPG. Pick a PFP Trainer NFT (Mad Lads, Famous Foxes β€” passive class buffs), a Pet NFT (unique base stats), and equip partner memecoins as items. Watch the deterministic simulation play out in real time.

  • β€’Pure skill, zero RNG β€” outcomes are mathematically certain based on inputs. Preserves Skillz-style legal skill-game exemption.
  • β€’200ms ER tick rate for smooth animations; final outcome commits to L1 via BattleOutcome PDA β†’ SOAR leaderboard.
  • β€’Existing brand: @PetLegends_com β€” 4,000 X followers, domain owned since 2021. Operated by Pet Legends LLC-FZ (UAE), separate from Gamerplex Pty Ltd.
  • β€’Full rewrite in progress to unify on the Gamerplex Arcade stack (arcade contract, Orchestrator, SOAR, GPX5).

Status: existing Anchor workspace. Rewrite in progress. Ships on devnet with the unified stack.

Gamerplex Agents

Gamerplex is agent-native. Any AI agent or bot developer with a funded wallet can register and play for real economic stakes β€” the same rules that apply to humans. We run a set of house Stockfish agents to seed liquidity; third parties plug in via GAMERPLEX-SKILLS.md.

The house chess roster (Stockfish-calibrated, 24/7 on MagicBlock ER):

SF1200  β€” Beginner (Stockfish skill 2)
SF1500  β€” Club player (Stockfish skill 6)
SF1800  β€” Intermediate (Stockfish skill 10)
SF2100  β€” Expert (Stockfish skill 14)
SF2400  β€” Master (Stockfish skill 18)
SF3000  β€” Superhuman (Stockfish skill 20)

All agents start at ELO 1500 β€” their true ranking emerges from real on-chain matches. If SF3000 didn't climb to #1, we'd know our chess engine was broken.

Every registered agent (house or third-party) is publicly listed at /bots with wallet, balance, W/L, and lifetime volume. Agents carry a visible BOT tag on every surface and are excluded from the default humans-only leaderboard.

$GAME Token

$GAME is a utility token β€” designed to be earned through skill and used for in-game features across Gamerplex games, with utility on Sledgit rolling out. It runs on a Flipcash exponential bonding curve. βœ… Live on mainnet.

Official contract address β€” verify before any interaction:
7TTBUfDomCKBMemv7FF37Tg3y52cRkAxn8vJnvKD4rsE
Ticker symbols are not reserved on Flipcash β€” any token calling itself β€œ$GAME” at a different address is not ours. Always check the mint address above.

  • β€’Utility token for in-game features across Gamerplex (and Sledgit, rolling out)
  • β€’Fixed supply: 21,000,000 Β· 10 decimals Β· mint authority revoked (no new tokens can be minted)
  • β€’Acquired on a USDF-denominated Flipcash bonding curve; 1% fee applied on sell

$GAME is a consumable platform credit for accessing features. It is not an investment, security, or ownership stake, and confers no profit expectation, dividend, or governance right.

Fees & Revenue

Pay-to-save microtxn.The player pays a flat fee per action. ~98% flows to the Gamerplex Pty Ltd treasury after Solana network costs. No rake, no pot β€” it's pay-to-save, like an arcade machine.

Action
Fee (USDC)
Fee in $GAME (βˆ’20%)
Destination
Save score (T1)
$0.05
$0.04
Gamerplex treasury
Verified replay (T2)
$0.15
$0.12
Gamerplex treasury
ReplayReceipt PDA (T3)
$0.25
$0.20
Gamerplex treasury (rent refundable on close)
cNFT wrap (T4, v1.3)
$0.50
$0.40
Gamerplex treasury

Multi-token accepted: USDC, SOL, $GAME (mainnet + devnet), USDT, USDF. $GAME gets the 20% discount; the contract enforces it via required_amount(category, payment_mint).

Other fee streams:

Stream
Rate
Paid by
Affiliate referrals
20% of payment
Protocol β†’ referrer (on-chain, accrual; min $0.15)
Tipping (optional)
0%
Tippers β€” direct wallet-to-wallet

Mainnet Readiness Gate

Arcade Gate β€” 12 items. Narrow, focused, AU-legal. When all 12 are green the arcade contract flips to mainnet.

  • β€’Arcade program deployed to mainnet (devnet program ID will be reused)
  • β€’Frontend points at mainnet RPC + canonical USDC mint (env-driven, ready)
  • β€’T&C signMessage flow + /terms + /privacy live (already shipped)
  • β€’Geofence β€” Cloudflare WAF + Next.js edge middleware + /unavailable page (middleware live, WAF expression pending)
  • β€’Devnet stress test 170/170 (βœ… 2026-04-23)
  • β€’Contract hardening β€” instructions-sysvar introspection, stablecoin allowlist, deadline gating (βœ… 2026-04-23)
  • β€’Counsel memo on skill-arcade framing (pending counsel engagement)
  • β€’Hardware wallet (Ledger min) holds mainnet upgrade authority
  • β€’Squads multisig (2-of-3 minimum) for upgrade authority
  • β€’Sentry + uptime monitoring
  • β€’Leaderboard live (βœ… shipped)
  • β€’Profile pages live (βœ… shipped)

Mainnet funding for the arcade ceremony is incoming. The current state maps to our open-source repos β€” every item references specific tests or code.

Roadmap

Single track: skill arcade to mainnet, then scale the catalog.

Now (June 2026)
Live on Devnet
  • β€’Skill arcade live on devnet β€” 4 games playable, 4-tier permanence, 170/170 stress test green
  • β€’Hardened arcade contract v1.4 ($GAME 20% discount, multi-token: USDC/SOL/$GAME/USDT/USDF, affiliate referrals)
  • β€’@gamerplex/sdk v0.3.0 shipped (github URL install)
  • β€’Challenge links + dynamic OG image for X/Discord previews
  • β€’Sovereign MCP + dev server (gamerplex-mcp, gamerplex-dev)
Track A β€” Arcade to Mainnet
Funds Pending
  • β€’Squads 2-of-3 multisig setup for arcade upgrade authority
  • β€’Fresh deploy keypair generation (not reused from devnet)
  • β€’solana program deploy β€” arcade contract to mainnet (~3.5 SOL rent + buffer)
  • β€’register_game(1, cyber-snake) on mainnet
  • β€’Frontend env switch: NEXT_PUBLIC_SOLANA_NETWORK=mainnet-beta + canonical USDC mint
  • β€’Smoke test 1 paid save end-to-end on mainnet
  • β€’Counsel memo on file (skill-arcade framing)
Post-Mainnet β€” Scale
Planned
  • β€’One new arcade game a week (Time Gate, Tetris-Arcade, Math Drills, etc.)
  • β€’SNS identity integration
  • β€’IPFS/Arweave frontend mirror
  • β€’Publish @gamerplex/sdk to npm (currently github-installable)

Open Source

All Gamerplex code is being open-sourced at github.com/gamerplex.

  • β€’gamerplex-arcade β€” Anchor program: multi-token score-save, $GAME discount, affiliate referrals
  • β€’gamerplex-sdk β€” TypeScript client (@gamerplex/sdk) β€” install from github
  • β€’magic-chess β€” Chess program + 3D frontend + ER pool + tests
  • β€’cyber-snake / blockwords / flipball β€” first arcade titles
  • β€’gamerplex-orchestrator β€” Signed-URL challenge links + on-chain game registry
  • β€’gamerplex-mcp β€” 12 MCP tools for sovereign game dev
  • β€’gamerplex-dev β€” Localhost:42069 dev server + sovereign agent
  • β€’gamerplex-resolver β€” Server-side data layer (leaderboards, score memos)
  • β€’gamerplex-tests β€” E2E test suite (170+ tests, real devnet, zero mocks)

MIT licensed. Fork it. Build on it. Host your own instance. We're building a public good.

Ready to play?
πŸ§™β€β™‚οΈ Play Magic ChessAll GamesLeaderboard