Skip to content

JManion32/speed-roulette

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

♟️ Speed Roulette

A fast-paced browser game that puts a twist on classic casino roulette.


🚀 About

Inspired by the intensity of speed chess, Speed Roulette puts an interesting twist on the beloved high-stakes casino game. Players start with 20 dollars, 10 possible spins, and just 60 seconds on the clock. When bets are submitted, the winning number is revealed, earnings are paid out, and the clock starts ticking again 2.5 seconds later. Compete for a spot on the daily leaderboard by making quick decisions, taking bold risks, and hitting big payouts.


🧰 Tech Stack

Frontend

Vite React TypeScript Tailwind CSS

Backend

Go

Database & Caching

PostgreSQL Redis

Infrastructure & DevOps

Docker DigitalOcean Route 53
Nginx Certbot

Tooling / Dev Dependencies

ESLint Stylelint Prettier Cypress
golangci-lint gofmt Go Test


🧪 Running the Project Locally

Requirements

  • Docker installed and running
  • Docker Compose (v2 recommended)

1. Clone the repository

git clone https://github.com/JManion32/speed-roulette.git
cd speed-roulette

2. Configure the Environment

Create a .env file in the root directory:

ENV=development
BUILD_MODE=devserver
FRONTEND_PORT=5173
CORS_ORIGIN=http://localhost:5173 

# PostgreSQL
POSTGRES_USERNAME=user
POSTGRES_PASSWORD=pass
POSTGRES_DB_NAME=speed-roulette
POSTGRES_DB_HOST=db
POSTGRES_DB_PORT=5432

# Redis
REDIS_ADDRESS=redis:6379
REDIS_PASSWORD=
REDIS_DB=0

3. Start the Full Stack

docker compose up --build

About

A fast paced browser game combining Roulette and speed chess.

Resources

License

Stars

Watchers

Forks