This application creates ranking of players based of played foosball matches.

FoosballEye1_thumb2

Below rules which are used to calculate ranking.

1. Every player has at the begin 100 points.

2. Every match can be played on 3 levels:
- 20% of points for win
- 10% of points for win
- 5% of points for win

3. Winners gets a percent of looser points and additional 1 point. In case of a draw, all receives 1 point.

Example:
Match is played on level 10% and before match:
In team #1:
  - Player #1 has 80 points
  - Player #2 has 40 points.
In team #2:
  - Player #3 has 50 points,
  - Player #4 has 20 points.
Suppose that Team #2 won match, so after match:
  - Player #1 will have 72 points = 80 - 10% (8 points)
  - Player #2 will have 36 points = 40 - 10% (4 points)
So Team #2 won 12 (8+4) points from Team #1. Wins points will be equally distributed between the winning players.
  - Player #3 will have 57 points = 50 + 1/2(12) + 1
  - Player #4 will have 27 points = 20 + 1/2(12) + 1

 

You can create new game under one condition you have to be one of players in this match, you cannot create match without you.

During creating new game player can be added by double click or by drop and drag.

Few screens from app:

FoosballEye2_thumb1

FoosballEye3_thumb1

 

Used technologies:

         .Net 4.5
        Code First approach
        Single Page Application in Java Script
        flotcharts.org