Giter VIP home page Giter VIP logo

detective's Introduction

detective's People

Contributors

shidhincr avatar stefanbohacek avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

tkers shidhincr

detective's Issues

Add scoreboard

I'd like to use something like Passport and support at least Twitter and Facebook.

The idea is something like, on the landing page, there should be three links: Play the game, Log in, and About.

Logging in lets you authenticate and then immediately starts the game.

Counting points will be a bit tricky. The game should track (at least):

  • how many games you played
  • how many times you fooled the detective as an impostor
  • how many times you correctly identified

I would like to see a weekly scoreboard alongside an all-time one: this would motivate newer players to join in without feeling like they are entering the game too late.

Clean up the JS file

  • modularize some of the code (for example the badWords)
  • clean up some of the errors reported by jshint
  • etc

Tweak the server cache

The pages are pretty heavily cached, so when you log out/check the leaderboard, you often need to reload the page to see updates.

Numbers not adding up

numbers-not-adding-up

Some of the leaderboard numbers are not adding up. For example, @_grahamcracker9 has 12 games as a Detective, but won 21 of them.

Also, the total number of games doesn't add up.

Games as Detective: 12
Games as Impostor: 6
Total: 45

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.