Price Royale - A price prediction game built on Pyth Network

Price Royale

Team: @waleedslf (solo submission)
Submitted: March 24, 2026


Answer Capsule

Price Royale is a free-to-play multiplayer price prediction game powered by Pyth Network’s real-time oracle price feeds. Players compete live to predict whether ETH/USD, BTC/USD, or SOL/USD will go UP or DOWN. Pyth’s confidence interval data directly influences scoring — wider CI means higher risk, higher reward.


What It Does

Price Royale turns Pyth Network’s live oracle data into a competitive multiplayer game. Players join rooms, commit directional predictions (UP or DOWN) on crypto asset prices within a 30-second window, then watch the Pyth-sourced price chart settle the outcome in real time for next 30-seconds. Three game modes — Custom Rooms, Quick Royale (auto-matchmaking), and Tournament (bracket elimination) — keep competition fresh, while a rank progression system, streak bonuses, and Pyth confidence interval multipliers reward both skill and timing.


Pyth Features Used

  • Price Feeds (on-chain or off-chain)

  • Entropy (randomness)

  • Both


Links


Screenshots / Media


Tech Stack

  • Framework/Language: React 18 (Vite), Node.js, JavaScript

  • Blockchain (if applicable): None — fully off-chain, no wallet required, points-based gameplay

  • Agent Framework (if applicable): None

  • Deployment: Railway (backend), Vercel (frontend)

  • Frontend: React, TradingView Lightweight Charts, Socket.io-client, Axios

  • Backend: Express.js, Socket.io, Mongoose/MongoDB Atlas

  • Authentication: JWT (username/password) + Discord OAuth2

  • Oracle: Pyth Network Hermes REST API (off-chain price feeds)

  • Styling: Custom CSS with Pyth brand colors (lavender/purple palette, Rajdhani + Space Mono fonts)


Content Contributions (Required)


Licensing

This project is licensed under Apache 2.0.


Eligibility Confirmation

  • I am 18+ years old

  • I am not located in an OFAC-sanctioned jurisdiction

  • I confirm this is an original work created during the hackathon period

  • I have read and agree to the Terms & Conditions