Sha256: 06203dae4a65cdde7069dbf1426833616764799e50df938bae734be7783cd79e

Contents?: true

Size: 833 Bytes

Versions: 1

Compression:

Stored size: 833 Bytes

Contents

require_relative 'lotrd/controller/check'

require 'colorize'
require 'artii'
require "lotrd/version"

module Lotrd
  class Error < StandardError; end
  # Your code goes here...
  def self.start
    system 'clear'
    titleStyle = Artii::Base.new :font => 'slant'
    puts titleStyle.asciify('              Legend').colorize(:white)
    puts titleStyle.asciify('              Of The').colorize(:white)
    puts titleStyle.asciify('               Ruby').colorize(:red)                                                                                                                             
    puts titleStyle.asciify('            Dragon').colorize(:white)
    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
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
lotrd-0.1.9 lib/lotrd.rb