Skip to content

Commit

Permalink
Add late night changes
Browse files Browse the repository at this point in the history
  • Loading branch information
fechu committed Sep 13, 2014
1 parent 6d13ac6 commit 158bfdf
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions Late Night Changes.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# Late Night Changes

- Add userid to GET game/move
- GET game/move/user/{id} returns only moves if the user is in the current team. "moves" is an
empty array otherwise
- Error message when POST to game/move/user/{id} when it's not the users turn
- New endpoint statistics/selectedOptions. 0 to 6 are selectable options, 7 are undecided users.
Example:

{
"0": 0,
"1": 0,
"2": 0,
"3": 1,
"4": 0,
"5": 0,
"6": 0,
"7": 7,
"turnUserCount": 8,
"userCount": 17,
"currentMoveTTL": -1560
}


- Add winnerTeam property. Default value is -1. Changes to the winner team when the isFinished property
is set to true


TODO:

- FindCurrentGame should return "old game" longer to show results

0 comments on commit 158bfdf

Please sign in to comment.