Permalink
Browse files

added cool logo and changed splash message

  • Loading branch information...
michaelchadwick committed Jun 9, 2015
1 parent 0e069d3 commit 2892a25f7e8cd6b9516b66ab137ddf98c78ecd94
Showing with 8 additions and 5 deletions.
  1. +8 −5 lib/gemwarrior/repl.rb
View
@@ -13,7 +13,7 @@ class Repl
# CONSTANTS
## MESSAGES
QUIT_MESSAGE = 'Temporal flux detected. Shutting down...'
SPLASH_MESSAGE = 'Welcome to Gem Warrior, where randomized fortune is just as likely as mayhem.'
SPLASH_MESSAGE = 'Welcome to the land of *Jool*, where randomized fortune is just as likely as mayhem.'
attr_accessor :world, :eval
@@ -50,11 +50,14 @@ def clear_screen
end
def print_splash_message
0.upto(SPLASH_MESSAGE.length-1) do print "=" end
print "\n"
puts "/-+-+-+ +-+-+-+-+-+-+-\\"
puts '|G|E|M| |W|A|R|R|I|O|R|'
puts "\\-+-+-+ +-+-+-+-+-+-+-/"
0.upto(SPLASH_MESSAGE.length-1) do print '=' end
puts
puts SPLASH_MESSAGE
0.upto(SPLASH_MESSAGE.length-1) do print "=" end
print "\n"
0.upto(SPLASH_MESSAGE.length-1) do print '=' end
puts
end
def print_fortune

0 comments on commit 2892a25

Please sign in to comment.