Fix bug in unauthorized player moves
Remove unnecessary std namespace use