isPlayerTurn() and bool playerTurn is changed to static