All software

Autodraft

A real-time sealed draft tool for the Riftbound card game. Players join a shared draft, the server rotates the packs, and everyone picks cards live in the browser.

Status
Live
Role
Co-developed at Webitz Games
Built with
Go, Gin, MySQL, React, TypeScript, Docker

Autodraft runs sealed drafts for the Riftbound trading card game. One player hosts a draft and picks which card sets go into the packs; others join from their own browsers. From there the server owns the clock: on each tick it rotates the packs between players, and everyone picks a card until each player has a full pool.

How it’s built

  • Server: Go with Gin. A draft manager runs in its own goroutine and advances every active draft on a fixed tick, so timing and pack rotation are never left to the clients.
  • Data: MySQL, with migrations and the card list seeded automatically at startup.
  • Accounts: registration and login with bcrypt-hashed passwords and JWT-protected draft routes.
  • Client: a React and TypeScript single-page app built with Vite.
  • Deployment: Docker Compose, behind an Apache reverse proxy.