repair bug with multiplayer
add playes to json
add tests for not valid player index