Sha256: e0922afc8a200cbe23a82c9541e9a0e3974ca5934d084d3c1da976f63bcbc6a8
Contents?: true
Size: 285 Bytes
Versions: 2
Compression:
Stored size: 285 Bytes
Contents
module Mastermind class Game class Turn attr_reader :guess, :exact, :partial, :number def initialize(guess:, number:, exact: 0, partial: 0) @guess = guess @exact = exact @partial = partial @number = number end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
mastermind-game-0.0.2 | lib/mastermind/game/turn.rb |
mastermind-game-0.0.1 | lib/mastermind/game/turn.rb |