Since player's x is already computed on the server side, just send it to client
Simply instantiate shared Player object in client
Removed unnecessary variables, will replace score system