Emulated the website from The Social Network to compare between two individuals, but with a twist — using actual farm animals instead of human profiles.
Given -
Probability of winning for Player A (left),
Probability of winning for Player B (right),
When Player A wins (left chosen):
When Player B wins (right chosen):
- Click on either side to increase image rating.
- Image ranking based on elo rating can be viewed by navigating to
Rankings
. - Reopen page/tab to reset all image rating, refresh would not work.
- Clone the repo by running
git clone https://github.com/Vincexodus/Facemash.git
. - Install Live Server | VSCode Extension and enable it.
- On the bottom right of VSCode editor, click
Go Live
. - The site should be running on localhost.
- Fork this repo.
- Create your feature branch (
git checkout -b feature/fooBar
). - Commit your changes (
git commit -am 'Add some fooBar'
). - Push to the branch (
git push origin feature/fooBar
). - Create a new Pull Request.
- The Social Network (2010). IMDB. Available at https://www.imdb.com/title/tt1285016
- Elo Rating Algorithm. GeeksforGeeks. Available at https://www.geeksforgeeks.org/elo-rating-algorithm/