refactoring
refactoring
validate player position on server side