-
Notifications
You must be signed in to change notification settings - Fork 14
/
lots.rb
45 lines (40 loc) · 899 Bytes
/
lots.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
#!/usr/bin/env ruby
#
# Legend of the Sourcerer
# Written by Robert W. Oliver II <[email protected]>
# Copyright (C) 2018 Sourcerer, All Rights Reserved.
# Licensed under GPLv3.
LOTS_VERSION = "1.00"
begin
require 'colorize'
rescue LoadError
puts
puts "Legend of the Sourcerer requires the 'colorize' gem to run."
puts
puts "Installation Instructions"
puts "-------------------------"
puts
puts "Debian/Ubuntu Linux:"
puts " sudo apt install ruby-colorize"
puts
puts "Other Linux Distros:"
puts " gem install colorize"
puts
puts "Windows:"
puts " gem install colorize"
puts
puts "macOS:"
puts " gem install colorize"
puts
puts
exit
end
require 'pry'
# Require libraries
load "lib/ui.rb"
load "lib/world.rb"
load "lib/character.rb"
load "lib/story.rb"
load "lib/enemy.rb"
# Start
load "lib/main.rb"