Coder Social home page Coder Social logo

world-cup-sweepstake's Introduction

Application to track the results of Scott Logic Newcastle's 2018 World Cup Sweepstake

Table of Contents

What is this?

This is a sweepstake competition which will run alongside the 2018 FIFA World Cup, but with a twist: Participants will draw 5 teams from a hat, the first 2 teams will be the "goal" teams, the subsequent 3 teams will be the "outcome" teams. The team names will then be returned to the hat for the next participant. They will also be asked to predict the total goals that will be scored over the competition.

During the competition points are rewarded as follows:

  • 1 Point for every goal scored by a "goal" team.
  • 3 Points for every win achieved by an "outcome" team.
  • 1 Point for every draw achieved by an "outcome" team.

At the end of the competition the participant with the most points will claim the top prize. In the even of a tie, it will come down to whichever participant

During the competition this application will display the teams picked by each player, along with the total goals they predicted and their current points tally. It will also display the total goals, wins and draws for each team along with the actual current total goals.

Technical Specifications

The app is fairly barebones as it was thrown together quite quickly to be ready in time for the cup.

The UI is a standard React (no Redux or other addons/middleware) served by an express server which also hosts the services to fetch player data.

The data is served by: http://api.football-data.org/ Which should be updated during the competition, examples of how the data is formatted can be seen in the historical competitions stored here.

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.