Method: Codebreaker::Console#show_hint

Defined in:
lib/codebreaker_gem/codebreaker.rb

#show_hintObject



46
47
48
49
# File 'lib/codebreaker_gem/codebreaker.rb', line 46

def show_hint
  puts "You have #{@game.hints} hints"
  puts @game.hint ? "HINT: #{@game.hint}" : 'Sorry, but you have used all the hints :('
end