Added some network code with socket.io. Fixed player's diagonal movement.