Game Status
status as json object {code,round,lap,move} with code:
- 00 no lobby
- 10 lobby not full
- 20 lobby ready (meaning full and everyone picked their names)
- 30 game start initiated
- 40 game over
- 50 leave/left lobby -> return to state 0
- 60 unknown error
On code 30:
- round:x for round x starting
- round:y for lap y
- move:z for move z (6 moves per lap)
status:{
code:num,
round:num,
lap:num,
move:num,
target:[],
timer:num,
team:[],
globalScore:score,
roundScore:score,
roleName:string,
}
Edited by Sven Kuffer