Skip to content

Instantly share code, notes, and snippets.

@atomjar
Created January 23, 2017 23:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save atomjar/6bc44cabaecb58725b3d53c4f4568ec1 to your computer and use it in GitHub Desktop.
Save atomjar/6bc44cabaecb58725b3d53c4f4568ec1 to your computer and use it in GitHub Desktop.
Darkforce data model
{
"FirebaseGenNode": {
"invitations": {
"autoGenKeyInvite": {
"sender": "GitHubUserName",
"receiver": "GitHubUserName"
}
},
"users": {
"autoGenUserKey": {
"name": "Linsy Joyner",
"username": "GitHubUserName",
"available": "true",
"gameswon": 4
}
},
"games": {
"autoGenGameKey": {
"player1": "GitHubUserName",
"player2": "GitHubUserName",
"gameRounds": {
"autoGenKey1": {
"question": "Completetheclassicline: That'snomoon;it'sa...",
"correctAnswer": "Spacestation",
"answers": {
"player1": {
"answer": "",
"timeAnswered": "(timestamp)",
"isCorrect": "boolean"
},
"player2": {
"answer": "",
"timeAnswered": "(timestamp)",
"isCorrect": "boolean"
}
}
},
"autoGenKey2": {
"question": "Completetheclassicline: That'snomoon;it'sa...",
"correctAnswer": "Spacestation",
"answers": {
"player1": {
"answer": "",
"timeAnswered": "(timestamp)",
"isCorrect": "boolean"
},
"player2": {
"answer": "",
"timeAnswered": "(timestamp)",
"isCorrect": "boolean"
}
}
},
"autoGenKey3": {
"question": "Completetheclassicline: That'snomoon;it'sa...",
"correctAnswer": "Spacestation",
"answers": {
"player1": {
"answer": "",
"timeAnswered": "(timestamp)",
"isCorrect": "boolean"
},
"player2": {
"answer": "",
"timeAnswered": "(timestamp)",
"isCorrect": "boolean"
}
}
},
"autoGenKey4": {
"question": "Completetheclassicline: That'snomoon;it'sa...",
"correctAnswer": "Spacestation",
"answers": {
"player1": {
"answer": "",
"timeAnswered": "(timestamp)",
"isCorrect": "boolean"
},
"player2": {
"answer": "",
"timeAnswered": "(timestamp)",
"isCorrect": "boolean"
}
}
},
"autoGenKey5": {
"question": "Completetheclassicline: That'snomoon;it'sa...",
"correctAnswer": "Spacestation",
"answers": {
"player1": {
"answer": "",
"timeAnswered": "(timestamp)",
"isCorrect": "boolean"
},
"player2": {
"answer": "",
"timeAnswered": "(timestamp)",
"isCorrect": "boolean"
}
}
}
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment