What is Showdown Trivia?
Showdown Trivia is a web-based real-time multiplayer trivia game platform where players compete head-to-head in fast-paced trivia competitions. Challenge your friends or join random players in trivia battles across multiple categories, with customizable game settings for endless entertainment. The platform leverages WebSocket technology to deliver instant, synchronized gameplay where every second counts. Create your own game rooms, customize difficulty and categories, or join existing games to test your knowledge against other players.Get Started
Quickstart Guide
Get up and running with your first trivia game in minutes
Live Demo
Try out Showdown Trivia in action (may take a moment to wake up)
Source Code
Explore the codebase and contribute to the project
Deployment
Deploy your own instance with Docker or from source
Key Features
Real-Time Multiplayer Gameplay
Real-Time Multiplayer Gameplay
Experience synchronized, real-time trivia competitions powered by WebSocket connections. All players see questions simultaneously, and answers are processed instantly with live score updates.
User Authentication & Sessions
User Authentication & Sessions
Secure user registration and authentication system with password hashing and session management using Gorilla sessions.
Customizable Game Settings
Customizable Game Settings
Create games tailored to your preferences:
- Categories: Choose from 32+ trivia categories from the Open Trivia Database
- Question Count: Set 1-50 questions per game
- Timer: Adjust answer time from 2-20 seconds per question
Live Score Tracking
Live Score Tracking
Real-time score updates throughout the game. Players earn points for correct answers, with instant feedback after each question.
Game Room Management
Game Room Management
Create private game rooms or browse and join active public games. Room owners control when games start and can configure settings.
Prometheus Monitoring
Prometheus Monitoring
Built-in metrics collection for production monitoring:
- Active WebSocket connections tracking
- Request duration histograms for game creation
- Exposed metrics endpoint at
/metrics
Technology Stack
Showdown Trivia is built with modern, performant technologies:Go
High-performance backend with
net/http standard libraryHTMX
Dynamic UI updates without heavy JavaScript frameworks
WebSockets
Real-time bidirectional communication via
gorilla/websocketMongoDB
Persistent storage for user data and game history
Prometheus
Production-ready metrics and monitoring
Templ
Type-safe Go templating for HTML generation