Skip to content

NishSatish/GambleRoom

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GambleRoom

A live gambling-room simulation with web sockets and JS. A creator hosts an event, and people join in and bet on the odds of the outcomes of the event.

Tech Stack

  • Backend

    • Node (TS) + Express
    • GraphQL (TypeGraphQL)
    • TypeORM
    • Postgres
    • GraphQL Subscriptions (for web socket connections)
  • Frontend

    • React
    • URQL (To consume the GraphQL API)

How the math works

The calculation for individual wagers won by a participant is inspired by the popular 'Predictions' feature in Twitch. The math behind their calculation was demystified by a Reddit user Screenshot 2022-01-28 at 6 30 00 PM

This work on this project is still in the initial stages, stay tuned for more!

About

A live gambling-room simulation with web sockets and JS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published