first working computation with new model

This commit is contained in:
Barak Michener 2015-06-22 23:49:48 -04:00
parent 8b7cab4c59
commit b36982b65d
7 changed files with 487 additions and 17 deletions

450
games/p2 Normal file
View file

@ -0,0 +1,450 @@
[
{
"game_size": 10,
"player_names": {}
},
{
"type": "vote",
"team": [
1,
7,
8
],
"votes": [
0,
1,
0,
0,
0,
0,
0,
1,
1,
0
],
"round": 1,
"voten": 1,
"proposer": 8,
"fails required": 1,
"print_order": [
"team",
"votes",
"round"
]
},
{
"type": "vote",
"team": [
2,
7,
9
],
"votes": [
0,
0,
0,
0,
0,
1,
1,
1,
1,
1
],
"round": 1,
"voten": 2,
"proposer": 9,
"fails required": 1,
"print_order": [
"team",
"votes",
"round"
]
},
{
"type": "vote",
"team": [
0,
5,
6
],
"votes": [
1,
1,
0,
1,
0,
1,
1,
0,
1,
0
],
"round": 1,
"voten": 3,
"proposer": 0,
"fails required": 1,
"print_order": [
"team",
"votes",
"round"
]
},
{
"type": "mission",
"team": [
0,
5,
6
],
"fails": 1,
"round": 1,
"must fail": false,
"print_order": [
"team",
"fails",
"must fail",
"round"
]
},
{
"type": "vote",
"team": [
1,
3,
6,
7
],
"votes": [
0,
0,
0,
1,
0,
0,
1,
0,
1,
0
],
"round": 2,
"voten": 1,
"proposer": 1,
"fails required": 1,
"print_order": [
"team",
"votes",
"round"
]
},
{
"type": "vote",
"team": [
0,
1,
2,
7
],
"votes": [
0,
0,
1,
0,
0,
0,
0,
0,
1,
0
],
"round": 2,
"voten": 2,
"proposer": 2,
"fails required": 1,
"print_order": [
"team",
"votes",
"round"
]
},
{
"type": "vote",
"team": [
0,
1,
3,
4
],
"votes": [
0,
0,
0,
1,
0,
1,
0,
0,
0,
1
],
"round": 2,
"voten": 3,
"proposer": 3,
"fails required": 1,
"print_order": [
"team",
"votes",
"round"
]
},
{
"type": "vote",
"team": [
0,
4,
7,
9
],
"votes": [
0,
0,
0,
1,
1,
1,
0,
1,
1,
1
],
"round": 2,
"voten": 4,
"proposer": 4,
"fails required": 1,
"print_order": [
"team",
"votes",
"round"
]
},
{
"type": "mission",
"team": [
0,
4,
7,
9
],
"fails": 1,
"round": 2,
"must fail": false,
"print_order": [
"team",
"fails",
"must fail",
"round"
]
},
{
"type": "lady",
"p1": 7,
"p2": 0,
"is good": true,
"round": false,
"print_order": [
"p1",
"p2",
"round",
"is good"
]
},
{
"type": "vote",
"team": [
0,
4,
5,
9
],
"votes": [
0,
0,
0,
1,
0,
1,
0,
0,
0,
0
],
"round": 3,
"voten": 1,
"proposer": 5,
"fails required": 1,
"print_order": [
"team",
"votes",
"round"
]
},
{
"type": "vote",
"team": [
0,
3,
6,
7
],
"votes": [
0,
0,
0,
1,
1,
0,
1,
0,
0,
0
],
"round": 3,
"voten": 2,
"proposer": 6,
"fails required": 1,
"print_order": [
"team",
"votes",
"round"
]
},
{
"type": "vote",
"team": [
0,
2,
6,
7
],
"votes": [
0,
1,
1,
0,
1,
0,
1,
1,
0,
0
],
"round": 3,
"voten": 3,
"proposer": 7,
"fails required": 1,
"print_order": [
"team",
"votes",
"round"
]
},
{
"type": "vote",
"team": [
0,
1,
8,
9
],
"votes": [
0,
0,
1,
1,
1,
0,
0,
0,
1,
0
],
"round": 3,
"voten": 4,
"proposer": 8,
"fails required": 1,
"print_order": [
"team",
"votes",
"round"
]
},
{
"type": "mission",
"team": [
0,
1,
2,
9
],
"fails": 0,
"round": 3,
"must fail": true,
"print_order": [
"team",
"fails",
"must fail",
"round"
]
},
{
"type": "lady",
"p1": 0,
"p2": 9,
"is good": true,
"round": false,
"print_order": [
"p1",
"p2",
"round",
"is good"
]
},
{
"type": "mission",
"team": [
0,
1,
2,
7,
9
],
"fails": 0,
"round": 4,
"must fail": false,
"print_order": [
"team",
"fails",
"must fail",
"round"
]
},
{
"type": "mission",
"team": [
0,
1,
2,
3,
6
],
"fails": 0,
"round": 5,
"must fail": true,
"print_order": [
"team",
"fails",
"must fail",
"round"
]
}
]