Skip to main content

What is Texas Hedge’Em?

Texas Hedge’Em is a player-vs-house casino poker game. Unlike traditional poker, players don’t compete against each other — they bet on the odds of four simultaneous poker hands winning against each other. Each game progresses through three betting stages:
StageCards DealtAction
Hole2 cards per handPlace bets based on hole card odds
Flop3 community cardsRe-assess and place flop bets
Turn1 community cardFinal betting round
River1 community cardOutcome revealed, winners paid

The API

The HedgeEm API powers the gameClient — the Phaser 3 game client in this repo. It is a Node.js/TypeScript serverless API deployed to Vercel.

Quickstart

Make your first API call in under 5 minutes

Authentication

How to authenticate using Supabase JWTs

Game States

Understand the game lifecycle and state machine

API Reference

Full endpoint documentation

API Status

This API is currently in stub mode. All endpoints return realistic dummy data. Real game logic and Supabase persistence will be wired up incrementally per the HEDGE roadmap.
Endpoint groupStatus
Health✅ Live
Tables — state, advance🔧 Stub
Tables — bet, topup, sit🔧 Stub
Players🔧 Stub
Auth (Supabase JWT)🔧 Stub — HEDGE-31