nickdhondt / dungeons-and-dragons

Real time digital statistics and game extension
GNU General Public License v2.0
0 stars 0 forks source link

make "next_round" button #48

Closed thecodewizard closed 9 years ago

thecodewizard commented 9 years ago

Make the next round button that sends a request to http_next_turn.

What http_next_turn expects is an array encoded in JSON with two elements: "next_turn" and "user_id"

"next_turn" must be 'true' in order for the script to run. 'user_id" must contain the user_id of the current user. (this is used to check for permission to alter the round.)