lib/console.rb in edlvj_codebreaker-0.3.0 vs lib/console.rb in edlvj_codebreaker-0.3.1
- old
+ new
@@ -6,9 +6,10 @@
def initialize
@game = Game.new
end
def play
+ p @game.stat
puts "You have #{Game::ATTEMPS} attemps and #{Game::HINT} hint.
Enter 'hint' for get hint. And 'exit' for exit from a game."
until @game.loose?
case code = gets.chomp
\ No newline at end of file