Skip to content

Commit

Permalink
colloring some content and added a front face
Browse files Browse the repository at this point in the history
  • Loading branch information
Mailmanoftears committed Mar 18, 2021
1 parent d33fb8b commit 396f76c
Showing 1 changed file with 54 additions and 8 deletions.
62 changes: 54 additions & 8 deletions view.rb
Original file line number Diff line number Diff line change
@@ -1,18 +1,64 @@
require_relative 'character'
require 'colorize'

class View
attr_reader :name

def start_game
puts `clear`
puts " Welcome to this MUD\n Type 'look' to see where you are on the map: "
puts"
:+: +-
.=%@= %%-
=#@@@+ .%@@=
:*@@@@@+ :@@@@=
=%@@@@@@# =@@@@@=
.+@@@@@@@@@. : #@@@@@%-
.+@@@@@@@@@@- :+#@@@+: .@@@@@@@%:
.*@@@@@@@@@@@# .-#@@@@@@@@@@*- +@@@@@@@@*.
:@@@@@@@@@@@@: =#@@@@@@@@@@@@@@@@*- .*@@@@@@@@@@=
+@@@@@@@@@@@=---::. -#@@@@@@@@@@@@@@@@@@@@@@*=. .. .:-=+*%@@@@@@@@@@@@@@+
%@@@@@@@@@@@@@@@@@. #@@@@@@@@@@@@@@@@@@@@@@@@@@@#=:.:-+#@@# +@@@@@@@@@@@@@@@@@@@@-
.@@@@@@@@@@@@@@@@@. #@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@- %@@@@@@@@@@@@@@@@@@*
:@@@@@@@@@@@@@@@@ %@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@% :@@@@@@@@@@@@@@@@@*
:@@@@@@@@@@@@@@# :@@@@@@@@#-=+******+++@@@@@@@@@@@@@@@@@@@: %@@@@@@@@@@@@@@@+
:@@@@@@@@@@@@@- .#@@@@@@@# .#@@@@@@@@@@@@@@@@@* +@@@@@@@@@@@@@@-
.#@@@@@@@@@@@@+. -#@@@@@@ +@@@@@@@@@@@@@@@@@ :@@@@@@@@@#*=-.
-*#@@@@@@@@@@@*: .+@@@@%%#+-. -@@=::.. -@@@@@@: @@%#+-:
.:-=+*#%@@@@%+. :+%@@@@@@@*=. .=%@@@*- =%@@@@@@@: .
.:--=- :%@@@@@@@@%@@+::%@@@**%##%@@@%-
%@@@@@@@@@@= @@@@@@= .:
@@@@@@@@@@%-+*+%@@@@@=
@@@@@@@@@@@@@@@@@@@@@-
@@@@@@@@@@@@@@@@@@@@@-
.@@@@@@@@@@@@@@@@@@@@@-
:@@@@@@@@@@@@@@@@@@@@@:
-@@@@@@@@@@@@@@@@@@@@@:
-@@@@@@@@@@@@@@@@@@@@@:
=@@@@@@@@@@@%.@@@@%@@@:
+@@@%-%@@@@@: +@@@.=@@.
+@@= =@@@@= .@@# =@.
*+ @@@# +@- -
+@@. #
.@-
-
".red
puts " Welcome...\n Type " + 'look'.red + " to see where you are on the map: "
puts "The following commands will also work:"
puts "stats to see your character info"
puts "inv to see your inventory"
puts "drop to drop an item"
puts "save to save your location for next time"
puts "n for north, s for south and so on"
puts "stop to stop the program"
puts "stats".red + " to see your character info"
puts "inv".red + " to see your inventory"
puts "drop".red + " to drop an item"
puts "save".red + " to save your location for next time"
puts "n".red + " for north," + " s".red + " for south and so on"
puts "stop".red + " to stop the program"
end

def show_map(map_tile_info)
Expand Down

0 comments on commit 396f76c

Please sign in to comment.