get player input in client