Skip to content

Instantly share code, notes, and snippets.

@peteristhegreat
Created January 4, 2017 03:55
Show Gist options
  • Save peteristhegreat/9297fddf87b392916749aee9f56fccb1 to your computer and use it in GitHub Desktop.
Save peteristhegreat/9297fddf87b392916749aee9f56fccb1 to your computer and use it in GitHub Desktop.
sample json for decide4me
{
"game_setups": [
{
"name": "setup_template",
"players": [
{
"name": "Player 1"
},
{
"name": "Player 2"
}
],
"history": [
{
"player": 0,
"player_name": "Player 1",
"choice_text": "green",
"category_index": 0
},
{
"player": 1,
"player_name": "Player 2",
"choice_text": "blue",
"category_index": 0
},
{
"player": 0,
"player_name": "Player 1",
"choice_text": "red",
"category_index": 0
},
{
"player": 1,
"player_name": "Player 2",
"choice_text": "red",
"category_index": 0
},
{
"player": 0,
"player_name": "Player 1",
"choice_text": "blue",
"category_index": 0
},
{
"player": 1,
"player_name": "Player 2",
"choice_text": "blue",
"category_index": 0
},
{
"player": 0,
"player_name": "Player 1",
"choice_text": "blue",
"category_index": 0
},
{
"player": 1,
"player_name": "Player 2",
"choice_text": "blue",
"category_index": 0
},
{
"player": 0,
"player_name": "Player 1",
"choice_text": "green",
"category_index": 0
},
{
"player": 1,
"player_name": "Player 2",
"choice_text": "blue",
"category_index": 0
},
{
"player": 0,
"player_name": "Player 1",
"choice_text": "blue",
"category_index": 0
},
{
"player": 1,
"player_name": "Player 2",
"choice_text": "blue",
"category_index": 0
},
{
"player": 0,
"player_name": "Player 1",
"choice_text": "blue",
"category_index": 0
}
],
"sound_effects": true,
"background_music": true,
"timer_on_each_turn": false,
"timer_duration": 60,
"animation_type": "Text Only",
"number_of_turns_before_next_category": 8,
"replacement_behavior": "Remove All",
"include_completed_categories": false,
"enable_respin": false,
"categories": [
{
"name": "colors",
"choices": [
"red",
"green",
"blue"
]
}
]
},
{
"name": "dinner ideas",
"players": [
{
"name": "Mom"
}
],
"history": [],
"sound_effects": true,
"background_music": true,
"timer_on_each_turn": true,
"timer_duration": 60,
"animation_type": "Slot Machine",
"number_of_turns_before_next_category": 3,
"replacement_behavior": "Remove",
"include_completed_categories": true,
"enable_respin": true,
"categories": [
{
"name": "main course",
"choices": [
"chicken",
"pork",
"beef"
]
},
{
"name": "side dish",
"choices": [
"rice",
"potatoes",
"quinoa"
]
},
{
"name": "veggie",
"choices": [
"peas",
"carrots",
"broccoli"
]
}
]
},
{
"name": "activities",
"players": [
{
"name": "Evee"
},
{
"name": "Benji"
}
],
"history": [],
"sound_effects": true,
"background_music": true,
"timer_on_each_turn": true,
"timer_duration": 60,
"animation_type": "Slot Machine",
"number_of_turns_before_next_category": 3,
"replacement_behavior": "Remove",
"include_completed_categories": true,
"enable_respin": true,
"categories": [
{
"name": "educational",
"choices": [
"Read a book",
"Do math activity sheets",
"Typing practice"
]
},
{
"name": "play outside",
"choices": [
"Four square",
"Basketball",
"Ride a bike"
]
},
{
"name": "electronics",
"choices": [
"Netflix",
"Console Games",
"Tablet Games"
]
}
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment