<commit_before>require 'pry'
class Turn
  attr_accessor :users_move
  def initialize
    @users_move = ''
  end
  def prompt(player)
    puts "It's your turn #{player.name}. Where would you like to move?"
  end

  def show_available_moves(array)
    array.each{|move| puts move}
  end

  def get_users_move
    move = gets.chomp
    @users_move = move
  end
end<commit_msg>crete the verify move is available method<commit_after>require 'pry'
class Turn
  attr_accessor :users_move
  def initialize
    @users_move = ''
  end
  def prompt(player)
    puts "It's your turn #{player.name}. Where would you like to move?"
  end

  def show_available_moves(moves)
    moves.each{|move| puts move}
  end

  def get_users_move
    move = gets.chomp
    @users_move = move
  end

  def verify_move_is_available(moves)
    moves.include? @users_move
  end
end
{'fraction_non_alphanumeric': 0.0811764705882353, 'fraction_numerical': 0.0, 'mean_word_length': 3.4322916666666665, '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': '854548', 'n_tokens_mistral': 296, 'n_tokens_neox': 290, 'n_words': 86}