Class: Codebreaker::GameConfiguration

Inherits:
Struct
  • Object
show all
Defined in:
lib/codebreaker/game.rb

Instance Attribute Summary collapse

Instance Attribute Details

#langObject

Returns the value of attribute lang

Returns:

  • (Object)

    the current value of lang



2
3
4
# File 'lib/codebreaker/game.rb', line 2

def lang
  @lang
end

#levelObject

Returns the value of attribute level

Returns:

  • (Object)

    the current value of level



2
3
4
# File 'lib/codebreaker/game.rb', line 2

def level
  @level
end

#max_attemptsObject

Returns the value of attribute max_attempts

Returns:

  • (Object)

    the current value of max_attempts



2
3
4
# File 'lib/codebreaker/game.rb', line 2

def max_attempts
  @max_attempts
end

#max_hintsObject

Returns the value of attribute max_hints

Returns:

  • (Object)

    the current value of max_hints



2
3
4
# File 'lib/codebreaker/game.rb', line 2

def max_hints
  @max_hints
end

#player_nameObject

Returns the value of attribute player_name

Returns:

  • (Object)

    the current value of player_name



2
3
4
# File 'lib/codebreaker/game.rb', line 2

def player_name
  @player_name
end