lib/codebreaker/game.rb in codebreaker_kub-0.1.2 vs lib/codebreaker/game.rb in codebreaker_kub-0.1.3
- old
+ new
@@ -1,10 +1,10 @@
module Codebreaker
class Game
attr_accessor :input_code, :code, :name, :difficulties, :difficulty, :hints_left, :attempts_left
def initialize
- @difficulties = Codebreaker::Loader.load('difficulties')
+ p @difficulties = Codebreaker::Loader.load('difficulties')
@code = generate_code
end
def game_option(name, difficulty)
@name = name