60 Hz Authoritative + Generic Relay
Run pixel-exact 60 Hz server simulations like Pongzera or launch any custom game immediately using the built-in consensus relay driver.
One ultra-light HTTPS + WSS protocol for HTML5, Mobile, Desktop, and Nintendo Switch. Ship 60 Hz authoritative rooms, AoE2-grade Elo, and private lobbies in minutes.
[online] ygs_http_url = https://gameservices.yupistudios.com ygs_ws_url = wss://gameservices.yupistudios.com/ws ygs_game_id = pongzera ygs_api_key = ygs_pub_...
Multi-tenant from day one so every title runs isolated leaderboards, keys, and physics drivers on a single lean deployment.
Run pixel-exact 60 Hz server simulations like Pongzera or launch any custom game immediately using the built-in consensus relay driver.
Unified global Elo with 2v2 anti-inflation effective ratings, Bronze-to-Legend divisions, win-trade throttling, and repeat-abandon penalties.
Expanding Elo queue windows, 20-second staging rooms, unanimous Start Now votes, couch co-op team lock, and Elo-scaled Bot backfill.
Unambiguous 6-character room codes with host rule overrides, bot toggles, ready checks, and instant rematch preserving the same lobby.
Zero-friction guest auth with 12-character recovery codes, profanity-filtered display names, and platformGroup tags for console compliance.
Built-in 15s bot-takeover reconnect window, Nintendo Switch Sleep focus hooks, TCP_NODELAY sockets, and zero external UDP requirements.
Drop our official pure-Lua library into Defold or use our lightweight TypeScript SDK for HTML5 engines.
local ygs = require "ygs.ygs"
ygs.init() -- reads [online] from game.project
ygs.on("welcome", function(msg)
print("Online Elo:", msg.rating, msg.division)
ygs.queue_join({ mode = "classic_pong", localPlayers = 1 })
end)
ygs.authenticate_guest(function(ok)
if ok then ygs.connect() end
end)
import { YgsClient } from "@yupistudios/ygs-sdk";
const ygs = new YgsClient({
httpUrl: "https://gameservices.yupistudios.com",
gameId: "sandbox-relay",
apiKey: "ygs_pub_...",
platform: "web",
});
await ygs.authenticateGuest({ displayName: "AcePlayer" });
await ygs.connect();
ygs.queueJoin({ mode: "duel", localPlayers: 1 });
curl -X POST https://gameservices.yupistudios.com/api/v1/auth/guest \
-H "X-YGS-Game-Id: pongzera" \
-H "X-YGS-Api-Key: ygs_pub_..." \
-H "Content-Type: application/json" \
-d '{"platform":"web","displayName":"NeonStriker"}'
# Connect WebSocket with TCP_NODELAY:
# wss://gameservices.yupistudios.com/ws?game=pongzera&key=...&token=...&v=1&platform=web
Yupi Studios' flagship cross-platform arcade sports game runs 100% of its ranked matchmaking, 60 Hz authoritative physics, Old West missiles, and global Elo divisions on YGS.
Visit PongzeraHost on YGS Cloud or run the exact same stack on your own $5 VPS with Docker.
HTML5 web portals, mobile carriers, and strict console certification rules work seamlessly over standard TLS/WSS on port 443 with TCP_NODELAY, eliminating NAT punch-through failures.
Yes. Use the built-in relay-v1 driver right away for input/state relay, consensus win reporting, Elo calculation, private rooms, and leaderboards.
If a player drops mid-match, an Elo-calibrated Bot temporarily takes over their paddle for 15 seconds. Rejoining within that window restores full control seamlessly.
A single Node.js 22 + SQLite WAL instance fits comfortably in a 512 MB Fly.io machine or entry VPS while serving hundreds of concurrent players.