Removed parameter player from hasMove