require_relative "hangman"
# figure out a random word to use for the game
class HangPlay
# Starts the hangman game
def self.start
@@game = Hangman.new("lemonade")
while true
self.show_round
end
end
def self.show_round
puts ""
puts "Board: #{@@game.board}"
puts ""
puts "Guessed: "
puts ""
puts ""
puts "Chances: #{@@game.chances}"
puts ""
puts "Enter guess:"
letter = gets.chomp
puts "The letter is: #{letter}"
end
end