Coder Social home page Coder Social logo

splittingred / bigfoos Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 4.0 745 KB

Foosball tracking app for Bigcommerce ATX team. Complete with rankings, auto-matchmaking, team balancing, achievements, and more.

Ruby 81.94% JavaScript 0.54% CSS 2.22% HTML 15.30%

bigfoos's People

Contributors

iamdavidovich avatar splittingred avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

bigfoos's Issues

Email MIME type incorrect

HTML formatted email notifications are coming in as text/plain, so the raw markup gets displayed in email clients.

screen shot 2014-02-10 at 4 29 15 pm

Allow tournaments

A useful feature would be a simple rotating tournament system.

When you create a new tournament you pick a pool of players which are then used to create new games. The first game could be randomised, subsequent games should follow the system we already use: winning team stays and new players rotate in on a round-robin basis.

Ideally you should also be able to add and remove/pause players from the pool at any time to enable people to come and go (EG. For beer)

๐Ÿ’ I started on this, but got sleepy.

Add more dynamic achievements

Would be cool to have achievements like:

  • "Hat Trick" that would be earned if you score three points in a game
  • "Dominator" if you score all 5 points
  • "On Fire" if you score 3 in a row without letting one in
  • "Shut-out" if you shut-out the opposing team

etc, etc.

Store how long a user is at a rank

Would be neat to see "1st place for X days" by ranks. This might be a bit tricky, as you'd have to actually store the ranks in the DB, or the rank placements at least.

I'll put this as a debatable feature - may not be worth the cost to store/develop it.

Add Nemesis system

Track who scores against who, add "nemesis" for people who score against you a lot.

Add in randomness to team assignments

Currently team assignments are 1/4 and 2/3.

Would be nice for - say 1 out of every 4 matches - to be completely random, to make it so the same teams aren't always occurring.

Add ratios table

Currently w/l ratio is stored in user table.

Probably best to add a ratios table that stores W/L, scores vs scores against, scores in back vs scores against in back, etc. This would allow for more data collection in a dynamic way.

Schema: id, user_id, name, ratio, and the timestamps

Foos Game UI

Create an in-progress game UI/UX that will allow tracking of which man scored a goal and to what goal registered the point. The UI should be optimized for phones and tablets.

Proposed Layout
img_0375
Note that the numbering is off. The 1 man should start at the forward's closest, right-most man. The 13 man should be the farthest, left-most man.

To Score

  • Tap a man (not player, just the foosman)
  • Tap a goal

To Unscore

  • Tap the unscore button

Players
After an auto-game is started, the player's icon will be the player's Gravatar with their name below it.

Possible V2 iteration: Include the player's goal count next to their avatar.

Self Scores
In the event a player scores on their own goal, the opposing team's score should increment, but the point should not be credited to a single person. The player who scores on his own team should have this stat recorded.

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.