Code factorisation (Open & write in pipes) - send movement of player eac...

...h other