Git Product home page Git Product logo

drink-sport's Introduction

Drink-Sport, a rec league signup, scheduling, and scores management app.

A joint collaboration by: Joe Shepherd and The guy with suspenders, Christopher Fryman Play with it live @ https://drinksport-3g3ez.backliftapp.com/

Code repo for Nashvile Software School beer league project

Functioning features Phases 1 and 2:

  • Uses Bootstrap framework
  • Allows user to add and save a team to the league via a form in a modal window.
  • Validates form inputs, confirming all fields are filled out and that phone, zipcode, and email are in the proper
    formats before submitting info to the server.
  • User can clear the form or cancel out of the form.
  • The data populates a list of teams and creates a schedule of games (once the list reaches 4 teams).
  • The schedule updates when a new team is added and compensates for an even or odd number of teams.
  • The add team button changes based on whether there are enough teams to start the season.
  • Once the list reaches 8 teams, the button changes again to a dummy and user cannot enter new teams.
  • User can click on a team and manager info will appear.
  • User can login (for now, you just click the "secure login" link) and: A "Delete Team" button appears at end of manager info. A "LogEm" button appears in the schedules for adding scores (This also begins the season, locking out the addition of new teams).
  • Adding scores calculates winning percentage for the teams and updates/sorts the league list with a table of each team's wins and losses and winning percentage. The team with the highest winning percentage is listed first. The scores also appear in the schedule table in place of the scheduled game time.

=============================================================== Updates made by Paul Campbell / github user: nimbleltd

  • Get rid of login button
  • added validation to prevent negative scores and to prevent ties.
  • cleared the validation alerts
  • Got rid of the "Ties" code.
  • Commented out turning negative scores to red.
  • Got rid of walrus and commented out intentional time delay.

Fixed sorting:

  • If no games played changed from NGP to .000
  • added sorts, to losses and wins, thanks to Cole and Andrew

drink-sport's People

Contributors

farfromguam avatar joeshep avatar nimbleltd avatar

Watchers

James Cloos avatar  avatar

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.