<commit_before>class Game
  attr_accessor :board, :players

  def initialize board, players
    @board = board
    @players = players
  end

  def play_the_game
    until over?
      move = current_player.next_move(self)
      current_player.play @board, move
      puts "#{current_player} played at position #{move}"
      next_player
    end
  end

  def over?
    !winner.nil? || draw?
  end

  def current_player<commit_msg>Show board after every move<commit_after>class Game
  attr_accessor :board, :players

  def initialize board, players
    @board = board
    @players = players
  end

  def play_the_game
    until over?
      move = current_player.next_move(self)
      current_player.play @board, move
      puts "#{current_player} played at position #{move}"
      @board.display
      next_player
    end
  end

  def over?
    !winner.nil? || draw?
  end

  def current_player
{'fraction_non_alphanumeric': 0.07856341189674523, 'fraction_numerical': 0.0, 'mean_word_length': 2.8614718614718613, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6361685', 'n_tokens_mistral': 287, 'n_tokens_neox': 280, 'n_words': 82}