lib/codebreaker/game.rb in Codebreaker_RG2016-0.2.3 vs lib/codebreaker/game.rb in Codebreaker_RG2016-0.2.4
- old
+ new
@@ -2,10 +2,10 @@
module Codebreaker
class Game
include Marker
- ATTEMPTS = 6
+ ATTEMPTS = 10
HINT = 1
attr_reader :secret_code, :hint, :attempts, :score, :game_start
def initialize(score = 0)
@secret_code = Array.new(4) { rand(1..6) }.join