Use typedef to enum player_state..