class GameState:
def __init__(self):
'''initializes the players turn'''
self._player_turn = 'BLACK'
def change_player_white(self):
self._player_turn = 'WHITE'
def p_move(self):
return self._player_turn
if I call
project41.GameState().change_player_white()
print(project41.GameState().p_move())
it still prints out 'BLACK'