/flipcoin

Flipcoin is a proof of concept coin flip gambling site written in NodeJS

Primary LanguageJavaScript

flipcoin

Flipcoin is a proof of concept coin flip gambling site written in NodeJS. The main goal of this site is to provide the user with a probability fair system which allows the user to verify the integrity of each game they play. To verify the game users may use this script.

TODO:

  • Implement history feature so players can view past games/hashes associated with them.
  • Add modal to see all past "daily secrets"

Installation

Setup:

git clone https://github.com/suite/flipcoin.git
cd flipcoin
npm i # "sudo npm i" if you're on macOS or Linux

Run After Setup:

node server.js

.env Setup

SECRET_SALT=    #salt used to generate game secrets
EXPRESS_SALT=   #salt used to encrypt cookies
EXPRESS_SECRET= #discord secret
DB_PASSWORD=    #mongodb password

Screenshots

1 2 3