Module: TypingTrainer

Defined in:
lib/typing_trainer.rb,
lib/typing_trainer/version.rb

Defined Under Namespace

Modules: KeyboardLayout Classes: Game, Level, LevelGenerator

Constant Summary collapse

COLORS =
HighLine::ColorScheme.new do |cs|
  cs[:error]         = [ :bold, :white, :on_red ]
  cs[:correct]       = [ :bold, :white, :on_green ]
end
VERSION =
"0.1.0"

Class Method Summary collapse

Class Method Details

.run(options) ⇒ Object



26
27
28
29
30
# File 'lib/typing_trainer.rb', line 26

def self.run(options)
  @game = Game.new(options)

  @game.play!
end