Skip to content
Full stack app that uses the Elo rating system for intra-office activities like ping pong
JavaScript HTML CSS
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.


Type Name Latest commit message Commit time
Failed to load latest commit information.


Full stack app that uses the Elo rating system for intra-office activities like ping pong


New users can sign up under their organization to create a new account. They can then record games that they've played against other registered users. With each new recorded game, the players' Elo ratings are updated. The leaderboard shows how each player is ranked and includes data for their Elo rating, number of games played, number of wins, and number of losses.


The Elo rating is a simple rating algorithm used in chess and some other sports and games. For the theory and math involved, see this article: I've chosen a K-factor of 32 and a starting value of 1200 for each new player so that your score is always positive.

Technologies used

  • Node/Express (Backend to handle routing and API requests)
  • Passport (Authentication)
  • MongoDB/Mongoose (Database)
  • HTML/CSS/jQuery (Frontend UI)

Cloning the repo

If you'd like to clone this repo and run this app on your own server, go ahead! After cloning the repo you'll need to do the following:

  • npm install to get all the Node modules
  • create a MongoDB database
  • create a users collection and a games collection within that database
  • create an .env file to store your SESSION_SECRET (ex. my_secret) and your DB_CONNECTION (ex. 'mongodb://localhost/myReallyCoolDb')

Feature requests and bug reports

If you've found a bug or would like to request a feature, please file an issue on this repo. PRs are welcome!

You can’t perform that action at this time.