Package io.github.sigmacasino.routes.games


package io.github.sigmacasino.routes.games
Classes that handle games the casino offers.
Currently, the casino offers the following games:
- horse racing,
- roulette.
  • Classes
    Class
    Description
    Handles the "/games/horses" route, fetching horse race data based on a replay ID and populating the HTML template with the race details or an error flag.
    Handles the "/games/horses" POST request, managing user bets, updating the user's balance, and registering a new horse racing game.
    Handles the "/games/roulette" route, fetching roulette game data based on a replay ID and populating the HTML template with the game details or an error flag.
    Handles the "/games/roulette" POST request, processing user bets, updating the user's balance, and registering a new roulette game result.