Module: Lotrd

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

Defined Under Namespace

Classes: Error

Constant Summary collapse

VERSION =
"0.1.5"

Class Method Summary collapse

Class Method Details

.startObject

Your code goes here…



13
14
15
16
17
18
19
20
21
22
23
# File 'lib/lotrd.rb', line 13

def self.start
  system 'clear'
  titleStyle = Artii::Base.new :font => 'slant'
  puts titleStyle.asciify('              Legend')
  puts titleStyle.asciify('              Of The')
  puts titleStyle.asciify('               Ruby').colorize(:red)                                                                                                                             
  puts titleStyle.asciify('            Dragon')
  puts "\n"*2 + "A CLI remake of the text-based adventure game, #{"'Legend of the Green Dragon' (LotGD)".colorize(:green)}."
  sleep(5)
  ::Check.playerData
end