I have an instance variable in my game class called @count that increments every time play_turn is called, this way I know that when @count is an even number it’s player_one’s turn and if it’s odd, player_two. The problem being it won’t pass because I believe the spec is being called on the method alone without regard to the playing of the game. Any advice on what to do here? I am incrementing @count after a move is made in the play_turn method, then calling switch_players! after.
I fixed it, in the description on the alpha curriculum page it said we needed a METHOD for current_player (which is why i created the @count variable), but instead I just created a @current_player variable and toggled it in the switch_players! method.