Adding limit to player movements

Signed-off-by: hmkum <hakanmertkum@gmail.com>