Module: MISSIONGAME

Defined in:
lib/ui.rb,
lib/enemy.rb,
lib/story.rb,
lib/player.rb,
lib/neworleans.rb

Overview

Written by Webster Avosa

Defined Under Namespace

Classes: Enemy, NewOrleans, Player, Story, UI

Constant Summary collapse

UI_FRAME_HORIZONTAL =
"\u2501"
UI_FRAME_VERTICAL =
"\u2503"
UI_FRAME_UPPER_LEFT =
"\u250F"
UI_FRAME_LOWER_LEFT =
"\u2517"
UI_FRAME_UPPER_RIGHT =
"\u2513"
UI_FRAME_LOWER_RIGHT =
"\u251B"
"\u00A9"
UI_EMAIL =
"\u2709"
UI_ARROW =
"\u2712"
ENEMY_CATALOG =
[
  [name: "Lucien Castle", lives: 3, bonus: 0, str: 3, points: 1],
  [name: "Klaus Mikaelson", lives: 8, bonus: 8, str: 4, points: 10],
  [name: "Damon Salvatore", lives: 5, bonus: 0, str: 4, points: 7],
  [name: "Mikael", lives: 3, bonus: 2, str: 4, points: 6],
  [name: "Taylor Lockwood", lives: 4, bonus: 0, str: 4, points: 2],
  [name: "Marcel Gerard", lives: 7, bonus: 3, str: 5, points: 5],
  [name: "Dahlia", lives: 2, bonus: 6, str: 1, points: 2],
  [name: "The Hollow", lives: 5, bonus: 0, str: 4, points: 3],
  [name: "Celeste Dubois", lives: 3, bonus: 10, str: 2, points: 5]
]
PLAYER_DEAD =
"PLAYER_DEAD"
STORY_INTRO =
[
  "This is a game based on the movie series," + "The Originals".light_green +
    ", that has it's setting in New Orleans, Louisiana, United States.",
  "Your mission is to meet " + "Davina Clare".light_white +
    " a very powerful witch of New Orleans,  and free her.",
  "She is currently hostaged by the vampirers under the reign of Klaus Mikaelson.",
  "She will provide you answers of all the questions you've always wanted to know.",
  "",
  "To get stated you will find a " + "map".light_white +
    " in the Mystic Falls of Virginia.",
  "Understanding the map will be key to reaching the destination"
]
STORY_AREA_TREE =
[
  "Take a selfie of you before encountering a bloody scene lol."
]
STORY_AREA_WATER =
["You just got close to Mississippi River."]
STORY_AREA_MOUNTAIN =
[
  "A cool place to get yourself a beer before continuing with your mission."
]
STORY_AREA_VILLAINE =
["You encountered a hungry vampire!"]
STORY_PLAYER_DEAD =
[
  "You have been fed on.",
  "",
  "You failed to reach the witch. Please try again."
]
STORY_END =
[
  "You've reached Davina Clare, the powerful witch!".light_white,
  "",
  "She stares at you and utters",
  "",
  "I can't imagine the time has finally come".light_yellow,
  "This is going to be the end of dominance by vampires becuase this is your kingdom"
    .light_yellow,
  "you are special and powerful.".light_yellow,
  "",
  "THANK YOU FOR PLAYING!".light_red,
  ""
]
ENEMY_KILLED =
"KILLED"
HIT_CHANCE_MODIFIER =
5
ATTACK_VALUE_MODIFIER =
1
MAP_WIDTH =
64
MAP_HEIGHT =
14
MAP_KEY_TREE =
"\u2663"
MAP_KEY_WATER =
"\u2248"
MAP_KEY_GRASS =
"\u2588"
MAP_KEY_MOUNTAIN =
"\u25B2"
MAP_KEY_ENEMY =
"\u263A"
MAP_KEY_WITCH =
"\u263B"
MAP_KEY_PLAYER =
"\u1330"
MAP_POSSIBLE_KEYS =

Weighted

[
  MAP_KEY_TREE,
  MAP_KEY_TREE,
  MAP_KEY_TREE,
  MAP_KEY_TREE,
  MAP_KEY_WATER,
  MAP_KEY_GRASS,
  MAP_KEY_MOUNTAIN,
  MAP_KEY_ENEMY,
  MAP_KEY_ENEMY
]
MAP_WITCH_X =
MAP_WIDTH
MAP_WITCH_Y =
1