Last active
August 29, 2015 14:02
-
-
Save gaboesquivel/fb301a192a78386f6de5 to your computer and use it in GitHub Desktop.
game points
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
user_id : 888, | |
fantasy_tennis_points: 9999, | |
user_tournaments_points:[ | |
333: { | |
tournament_id: 333, | |
total_points: 3000, | |
name: 'French Open', | |
user_categories_points: [ | |
{ | |
id: 444, | |
name: 'Singles Women', | |
points: 900, | |
consecutive_wins: 3, | |
user_phases_points: [ | |
{ | |
id: 444, | |
name: 'Semifinal' | |
points: 200, | |
user_matches_points: [ // limited to 1 game right now... | |
{ | |
match_id: 9898, | |
user_id: 76767, | |
selection: --some player_id--, | |
points: 200 // formula user_catgory_points.consecutive_wins * 100 | |
} | |
] | |
} | |
] | |
} | |
] | |
} , | |
444: { } ] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment