private void HandleInput(int playerIdx, string json)
    {
        // simulate the input then respond to all players with the current state
        gl.log.WriteLine("INPUT:" + json);
        Chord inputChord = Chord.CreateFromSerial(json);

        gl.InputEvent(playerIdx, inputChord);
    }