🎮 AI Escape Room Game API

Welcome to the AI Escape Room Game API. This is a social engineering game with AI characters.

📚 API Documentation

📖 Interactive API Documentation (Swagger UI)

📋 Alternative API Documentation (ReDoc)

🔌 Available Endpoints

POST /auth/register - Register a new user
POST /auth/login - Login user
POST /game/start - Start a new game session
POST /game/message - Send message to game
POST /tournament/create - Create tournament
POST /tournament/join - Join tournament
GET /stats/leaderboard - Get leaderboard

🚀 Getting Started

  1. Register a new user account at /auth/register
  2. Login to get an access token at /auth/login
  3. Use the token to start playing the game at /game/start
  4. Join tournaments and compete with others!

🎯 Frontend

To build and serve the React frontend:

cd ui
npm install
npm run build

Then restart the server to serve the built frontend.