Giter Site home page Giter Site logo

jeremyfourna / basket-live-stats Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 1.51 MB

Allow you to take and broadcast basket-ball game statistics. Create a game and take all the statistics from one team.

Home Page: https://basket-live-stats.herokuapp.com/

License: MIT License

JavaScript 81.23% HTML 18.17% CSS 0.60%
basketball basketball-stats live-stats

basket-live-stats's People

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

basket-live-stats's Issues

Add user history and action

Allow to know if a user alreday done an action or not

See onboarding process and activation process AAARR framework

Update home page

Add last three new games
Add last three ended games
Explain what the app does

Refactoring methods definition

Actually there are only one method declared and I use too many Games.update() anywhere in the code. I have to create every methods for a particular action in games.js

Add a method to change the state of a game

Actually we have :

'click #notStarted': function(e) {
        e.preventDefault();
        Games.update({
            _id: this._id
        }, {
            $set: {
                "state": "q1Running"
            }
        });
    }

In the stat template, we have to call a method to do this

Add graphic for the score gap

We have to display the score gap of a game. We'll store the date here :

gameStats.score.gap

It'll be an Array with objects in it :

[{
    homeTeam: 15,
    awayTeam: 13,
    gap: 2
}, {
    homeTeam: 15,
    awayTeam: 15,
    gap: 0
}]

We'll use the gap key to construct the graph. We'll use D3.js for all the graph in the project.

Add a settings page for user information

Display:

  • Pseudo
  • password
  • modify password

Personal info

  • Name
  • First Name
  • email
  • Actual club

The must have to be able to update password and every information on this page

Change team for a game

After taking a real BB game it's difficult to take stats for both teams. So We'll go with stat for 1 team and score for the other team.

That way it'll be easier to use the app.

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.