Crash casino game source code

Crash casino game source code

{H1}

Search code, repositories, users, issues, pull requests

A recreation of the popular online casino game "crash" with accurate casino odds.

showcase

  • thisisnl.nl - JS framework used to create the frontend.
  • thisisnl.nl - The backend server environment and serves as an API.
  • thisisnl.nl - JS environment that executes JS outside of the browser.
  • thisisnl.nl - Allows communication between the server and client in real time.
  • MongoDB - NoSQL database used to store all user and server information.
  • thisisnl.nl - Middleware used to authenticate and authorize users. Handles logins and registrations.
  • thisisnl.nl - Secures user passwords by hashing all passwords before storing in database.
  • thisisnl.nl - Create visualizations of data through charts and graphs like line graphs.
  • HTML
  • CSS
  • Login system - Users must log in or create an account to place bets.
  • Betting system - Users wager their balance before the round begins. A multiplier counts up from and users can cash out at any time, multiplying their bet amount by the current multiplier. The multiplier will stop, or crash, at a randomly generated value, and users who have not cashed out yet will lose their entire bet.
  • Accurate Gambling Odds - Every crash value is generated using the same algorithms real casinos use, including a 3% house edge.
  • Live Bet Tracker - Users can see other users betting live. When a user places a bet, their username and bet amount are added to a live table. When the user cashes out, their cash out multiplier and profit are also added.
  • Game History - Displays the crash values of the last 25 games played along with the streak of games with crash values above or below
  • Chat - Users who are logged in can send messages to other users through chat
  • Live Line Graph - Visualization of the current multiplier with respect to time.
  • MONGOOSE_DB_LINK - URL to MongoDB server
  • PASSPORT_SECRET - Secret for thisisnl.nl authorization and authentication
Источник: thisisnl.nl