Moved player moving logic into its own function and added log message about inability to move.