Skip to content

Instantly share code, notes, and snippets.

@jvlahos
Last active December 18, 2015 14:58
Show Gist options
  • Save jvlahos/5800474 to your computer and use it in GitHub Desktop.
Save jvlahos/5800474 to your computer and use it in GitHub Desktop.
Blades Data Structure
{
"games": [
{
"game_id": 499,
"p1_id": 0,
"p2_id": 1,
"game_num": 500,
"win_p_id": 1,
"p1_per_1": 2,
"p1_per_2": 2,
"p1_per_3": 1,
"p1_final": 5,
"p2_per_1": 1,
"p2_per_2": 1,
"p2_per_3": 2,
"p2_final": 4,
"p1_fights": 0,
"p2_fights": 2,
"p1_t_id": 3,
"p2_t_id": 4,
"ot": 0,
"p1_ot": 0,
"p2_ot": 0,
"p1_gos": 0,
"p2_gos":1,
"notes": "Tito GOS'ed his pants"
},
{
//and many many more games...
}
]
}
{
"players": [
{
"p_id": 0,
"p_name": "Jeff",
"p_default_team_id": 4,
"p_wins": 4,
"p_losses": 4,
"p_ot_wins": 4,
"p_ot_losses": 4
},{
//and several more players...
}
]
}
{
"teams": [
{
"t_id": 0,
"t_name": "Chicago",
"t_color": "#dd00ee",
},{
//and several more teams...
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment