lotrd 0.1.6 → 0.1.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (35) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +1 -1
  3. data/Gemfile.lock +1 -1
  4. data/lib/lotrd.rb +1 -4
  5. data/lib/lotrd/{c-adventureController.rb → controller/adventureController.rb} +2 -2
  6. data/lib/lotrd/{c-bankController.rb → controller/bankController.rb} +5 -5
  7. data/lib/lotrd/{c-check.rb → controller/check.rb} +2 -2
  8. data/lib/lotrd/{c-combatController.rb → controller/combatController.rb} +7 -7
  9. data/lib/lotrd/{c-leaderboardController.rb → controller/leaderboardController.rb} +4 -4
  10. data/lib/lotrd/{c-playergen.rb → controller/playergen.rb} +5 -5
  11. data/lib/lotrd/{c-storeBuy.rb → controller/storeBuy.rb} +7 -7
  12. data/lib/lotrd/{m-arm_stats.yml → model/arm_stats.yml} +0 -0
  13. data/lib/lotrd/{m-events.rb → model/events.rb} +0 -0
  14. data/lib/lotrd/{m-job.rb → model/job.rb} +1 -1
  15. data/lib/lotrd/{m-mob.rb → model/mob.rb} +1 -1
  16. data/lib/lotrd/{m-player.rb → model/player.rb} +1 -1
  17. data/lib/lotrd/{m-playerdata.yml → model/playerdata.yml} +0 -0
  18. data/lib/lotrd/{m-race.rb → model/race.rb} +0 -0
  19. data/lib/lotrd/{m-weap_stats.yml → model/weap_stats.yml} +0 -0
  20. data/lib/lotrd/version.rb +1 -1
  21. data/lib/lotrd/{v-adventure.rb → view/adventure.rb} +5 -5
  22. data/lib/lotrd/{v-bank.rb → view/bank.rb} +4 -4
  23. data/lib/lotrd/{v-combatView.rb → view/combatView.rb} +2 -2
  24. data/lib/lotrd/{v-datacheck.rb → view/datacheck.rb} +4 -2
  25. data/lib/lotrd/{v-leaderboard.rb → view/leaderboard.rb} +4 -4
  26. data/lib/lotrd/{v-newplayer.rb → view/newplayer.rb} +2 -2
  27. data/lib/lotrd/{v-store.rb → view/store.rb} +6 -6
  28. data/lib/lotrd/{v-town.rb → view/town.rb} +7 -7
  29. data/lotrd-0.1.6.gem +0 -0
  30. data/lotrd-0.1.7.gem +0 -0
  31. data/lotrd.gemspec +3 -3
  32. metadata +31 -32
  33. data/lib/lotrd/lotrd.rb +0 -15
  34. data/lotrd-0.1.3.gem +0 -0
  35. data/lotrd-0.1.4.gem +0 -0
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2282bfad5ebbdaacc90a6d182aa6281b7f6271e1e64c887a9eb0963cfec0461e
4
- data.tar.gz: 886980c330d6f0b89d8578fa45fc8d2d5fd61ecce03bcb46e2621d466655e0e0
3
+ metadata.gz: 89298c292f789a0f1ba64cb8ffc633defea0eda7efcccd256125dccf745ca647
4
+ data.tar.gz: 071e12d7b774f52edd837a5276949fe639f3f2bfcf7127be502b61d4c4a93302
5
5
  SHA512:
6
- metadata.gz: 7f11442f4a6c62e173a8ec61322924c9cea765ae7ac83095228e5b3b057dccef1d7509e4e7cd3f3641df2ac6d6ea4ba6a2b3b93a8ba868560bcceb6251169538
7
- data.tar.gz: 0a77c94a61fd0e4492c65910f778a78eb73650e937c8c1fba3c1605534cb05624336f8ea2d64128a8fb2e2ccac895502e54e49e7dd60757496462890a9095c45
6
+ metadata.gz: c051d92ad8c8e40fc591714da0b9d6ccffd4a9f7ea7a3581e94f528c772e266fbff93c81ab6116fa9622f06682aec8a0bcba95dac7c6ba833026d31d066da2f1
7
+ data.tar.gz: 77a9e484053add4379292cabb9736f9393b8b5debeaaf54747cf54be0144a197eb13194f8d205b03717b92616fc7fdc7a223499dcd75b0c4fbdfe65122d8bda8
data/Gemfile CHANGED
@@ -1,6 +1,6 @@
1
1
  source "https://rubygems.org"
2
2
 
3
- git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }
3
+ git_source(:github) {|repo_name| "https://github.com/thejayneo/lotrd" }
4
4
 
5
5
  # Specify your gem's dependencies in lotrd.gemspec
6
6
  gemspec
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- lotrd (0.1.3)
4
+ lotrd (0.1.7)
5
5
  artii (~> 2.1)
6
6
  colorize (~> 0.8.1)
7
7
  terminal-table (~> 1.8)
@@ -1,7 +1,4 @@
1
- require_relative 'lotrd/v-town.rb'
2
- require_relative 'lotrd/v-newplayer'
3
- require_relative 'lotrd/c-check'
4
- require_relative 'lotrd/'
1
+ require_relative 'lotrd/controller/check'
5
2
 
6
3
  require 'colorize'
7
4
  require 'artii'
@@ -1,5 +1,5 @@
1
- require_relative "c-combatController"
2
- require_relative "m-events"
1
+ require_relative "combatController"
2
+ require_relative "../model/events"
3
3
 
4
4
  module AdventureController
5
5
  def eventDecider
@@ -1,12 +1,12 @@
1
1
  require 'yaml'
2
2
 
3
- require_relative 'v-bank'
3
+ require_relative '../view/bank'
4
4
 
5
5
  module BankController
6
6
 
7
7
 
8
8
  def withdraw(wdw)
9
- player = YAML.load(File.read("m-playerdata.yml"))
9
+ player = YAML.load(File.read("lib/lotrd/model/playerdata.yml"))
10
10
  gold = player.gold
11
11
  balance = player.balance
12
12
  if wdw > balance
@@ -19,12 +19,12 @@ module BankController
19
19
  end
20
20
  player.gold = gold
21
21
  player.balance = balance
22
- File.open('m-playerdata.yml', 'w') {|file| File.write('m-playerdata.yml', player.to_yaml)}
22
+ File.open('lib/lotrd/model/playerdata.yml', 'w') {|file| File.write('lib/lotrd/model/playerdata.yml', player.to_yaml)}
23
23
  ::Bank.withdrawConfirm(wdw, player.gold, player.balance)
24
24
  end
25
25
 
26
26
  def deposit(dep)
27
- player = YAML.load(File.read("m-playerdata.yml"))
27
+ player = YAML.load(File.read("lib/lotrd/model/playerdata.yml"))
28
28
  gold = player.gold
29
29
  balance = player.balance
30
30
  if dep > gold
@@ -37,7 +37,7 @@ module BankController
37
37
  end
38
38
  player.gold = gold
39
39
  player.balance = balance
40
- File.open('m-playerdata.yml', 'w') {|file| File.write('m-playerdata.yml', player.to_yaml)}
40
+ File.open('lib/lotrd/model/playerdata.yml', 'w') {|file| File.write('lib/lotrd/model/playerdata.yml', player.to_yaml)}
41
41
  ::Bank.depositConfirm(dep, player.gold, player.balance)
42
42
  end
43
43
  module_function :withdraw,
@@ -1,8 +1,8 @@
1
- require_relative 'v-datacheck.rb'
1
+ require_relative '../view/datacheck.rb'
2
2
 
3
3
  module Check
4
4
  def playerData
5
- if File.size?("m-playerdata.yml") == nil
5
+ if File.size?("lib/lotrd/model/playerdata.rb") == nil
6
6
  ::DataCheck.absent
7
7
  else
8
8
  ::DataCheck.present
@@ -2,8 +2,8 @@ require 'yaml'
2
2
  require 'tty-prompt'
3
3
  require 'colorize'
4
4
 
5
- require_relative 'm-mob'
6
- require_relative 'v-combatView'
5
+ require_relative '../model/mob'
6
+ require_relative '../view/combatView'
7
7
 
8
8
  module CombatSim
9
9
  def start
@@ -12,7 +12,7 @@ module CombatSim
12
12
  mob1.jobGen
13
13
  mob1.nameGen
14
14
  #Load player stats
15
- player = YAML.load(File.read("m-playerdata.yml"))
15
+ player = YAML.load(File.read("lib/lotrd/model/playerdata.yml"))
16
16
  @currentPlayerHP = player.hp
17
17
  @currentPlayerStr = player.str
18
18
  @currentPlayerAgi = player.agi
@@ -119,19 +119,19 @@ module CombatSim
119
119
  end
120
120
 
121
121
  def reward
122
- player = YAML.load(File.read("m-playerdata.yml"))
122
+ player = YAML.load(File.read("lib/lotrd/model/playerdata.yml"))
123
123
  drop = rand(20..200)
124
124
  player.gold += drop
125
- File.open('m-playerdata.yml', 'w') {|file| File.write('m-playerdata.yml', player.to_yaml)}
125
+ File.open('lib/lotrd/model/playerdata.yml', 'w') {|file| File.write('lib/lotrd/model/playerdata.yml', player.to_yaml)}
126
126
  ::CombatView.victory(drop)
127
127
  end
128
128
 
129
129
  def loss
130
- player = YAML.load(File.read("m-playerdata.yml"))
130
+ player = YAML.load(File.read("lib/lotrd/model/playerdata.yml"))
131
131
  player.gold = 0
132
132
  player.armour = nil
133
133
  player.weapon = nil
134
- File.open('m-playerdata.yml', 'w') {|file| File.write('m-playerdata.yml', player.to_yaml)}
134
+ File.open('lib/lotrd/model/playerdata.yml', 'w') {|file| File.write('lib/lotrd/model/playerdata.yml', player.to_yaml)}
135
135
  ::CombatView.defeat
136
136
  end
137
137
 
@@ -2,19 +2,19 @@ require 'yaml'
2
2
  require 'tty-prompt'
3
3
  require 'colorize'
4
4
 
5
- require_relative 'v-town'
6
- require_relative 'v-leaderboard.rb'
5
+ require_relative '../view/town'
6
+ require_relative '../view/leaderboard.rb'
7
7
 
8
8
  module LeaderboardController
9
9
  def menu(input)
10
10
  narcissist = input
11
- player = YAML.load(File.read("m-playerdata.yml"))
11
+ player = YAML.load(File.read("lib/lotrd/model/playerdata.yml"))
12
12
  achievement = player.achievements
13
13
 
14
14
  if (narcissist > 3 && achievement.include?('Narcissist') == false)
15
15
  achievement << 'Narcissist'
16
16
  player.achievements = achievement
17
- File.open('m-playerdata.yml', 'w') {|file| File.write('m-playerdata.yml', player.to_yaml)}
17
+ File.open('lib/lotrd/model/playerdata.yml', 'w') {|file| File.write('lib/lotrd/model/playerdata.yml', player.to_yaml)}
18
18
  Leaderboard::start
19
19
  else
20
20
  narcissist += 1
@@ -1,7 +1,7 @@
1
- require_relative 'v-newplayer'
2
- require_relative 'm-player'
3
- require_relative 'm-race'
4
- require_relative 'm-job'
1
+ require_relative '../view/newplayer'
2
+ require_relative '../model/player'
3
+ require_relative '../model/race'
4
+ require_relative '../model/job'
5
5
 
6
6
  module PlayerGen
7
7
  def playerName(input)
@@ -54,7 +54,7 @@ module PlayerGen
54
54
  system 'clear'
55
55
  ::NewPlayer.jobOptions
56
56
  end
57
- File.open('m-playerdata.yml', 'w') {|file| File.write('m-playerdata.yml', @player.to_yaml)}
57
+ File.open('lib/lotrd/model/playerdata.yml', 'w') {|file| File.write('lib/lotrd/model/playerdata.yml', @player.to_yaml)}
58
58
  end
59
59
  module_function :race,
60
60
  :job,
@@ -1,13 +1,13 @@
1
1
  require 'yaml'
2
2
 
3
- require_relative 'v-store.rb'
3
+ require_relative '../view/store.rb'
4
4
 
5
5
  module Buy
6
6
  def weapon(item)
7
7
  system 'clear'
8
8
  puts "Hephy's Forge -> Weapons Menu -> Weapon Purchase" + "\n" + "=" * 40 + "\n"*2
9
- player = YAML.load(File.read("m-playerdata.yml"))
10
- weap_stats = YAML.load(File.read("m-weap_stats.yml"))
9
+ player = YAML.load(File.read("lib/lotrd/model/playerdata.yml"))
10
+ weap_stats = YAML.load(File.read("lib/lotrd/model/weap_stats.yml"))
11
11
  gold = player.gold
12
12
  weapon = player.weapon
13
13
  hp = player.hp
@@ -45,7 +45,7 @@ module Buy
45
45
  player.dex = dex
46
46
  player.int = int
47
47
  player.lck = lck
48
- File.open('m-playerdata.yml', 'w') {|file| File.write('m-playerdata.yml', player.to_yaml)}
48
+ File.open('lib/lotrd/model/playerdata.yml', 'w') {|file| File.write('lib/lotrd/model/playerdata.yml', player.to_yaml)}
49
49
  sleep(3)
50
50
  ::Store.menu
51
51
  end
@@ -53,8 +53,8 @@ module Buy
53
53
  def armour(item)
54
54
  system 'clear'
55
55
  puts "Hephy's Forge -> Armours Menu -> Armour Purchase" + "\n" + "=" * 40 + "\n"*2
56
- player = YAML.load(File.read("m-playerdata.yml"))
57
- arm_stats = YAML.load(File.read("m-arm_stats.yml"))
56
+ player = YAML.load(File.read("lib/lotrd/model/playerdata.yml"))
57
+ arm_stats = YAML.load(File.read("lib/lotrd/model/arm_stats.yml"))
58
58
  gold = player.gold
59
59
  armour = player.armour
60
60
  hp = player.hp
@@ -95,7 +95,7 @@ module Buy
95
95
  player.dex = dex
96
96
  player.int = int
97
97
  player.lck = lck
98
- File.open('m-playerdata.yml', 'w') {|file| File.write('m-playerdata.yml', player.to_yaml)}
98
+ File.open('lib/lotrd/model/playerdata.yml', 'w') {|file| File.write('lib/lotrd/model/playerdata.yml', player.to_yaml)}
99
99
  sleep(3)
100
100
  ::Store.menu
101
101
  end
@@ -1,4 +1,4 @@
1
- require_relative 'm-race'
1
+ require_relative '../model/race'
2
2
 
3
3
  class Job < Race
4
4
  attr_accessor :hp, :str, :agi, :dex, :int, :lck
@@ -1,4 +1,4 @@
1
- require_relative 'm-job'
1
+ require_relative '../model/job'
2
2
 
3
3
  class Mob < Job
4
4
  attr_reader :name
@@ -1,4 +1,4 @@
1
- require_relative 'm-job'
1
+ require_relative '../model/job'
2
2
 
3
3
  class Player < Job
4
4
  attr_reader :name
File without changes
@@ -1,3 +1,3 @@
1
1
  module Lotrd
2
- VERSION = "0.1.6"
2
+ VERSION = "0.1.8"
3
3
  end
@@ -1,8 +1,8 @@
1
- require_relative 'm-mob'
2
- require_relative 'c-combatController'
3
- require_relative 'c-adventureController'
4
- require_relative 'm-events'
5
- require_relative 'v-town'
1
+ require_relative '../model/mob'
2
+ require_relative '../controller/combatController'
3
+ require_relative '../controller/adventureController'
4
+ require_relative '../model/events'
5
+ require_relative '../view/town'
6
6
 
7
7
  module Adventure
8
8
  def start
@@ -1,14 +1,14 @@
1
1
  require 'yaml'
2
2
  require 'colorize'
3
3
 
4
- require_relative 'v-town'
5
- require_relative 'c-bankController.rb'
4
+ require_relative '../view/town'
5
+ require_relative '../controller/bankController.rb'
6
6
 
7
7
  module Bank
8
8
  def start
9
9
  system 'clear'
10
10
  puts "Hazelwood Bank" + "\n" + "=" * 40 + "\n"*2
11
- @player = YAML.load(File.read("m-playerdata.yml"))
11
+ @player = YAML.load(File.read("lib/lotrd/model/playerdata.yml"))
12
12
  puts "#{@player.name.colorize(:yellow)}, welcome to Hazelwood bank!"
13
13
  sleep(3)
14
14
  menu
@@ -28,7 +28,7 @@ module Bank
28
28
 
29
29
  def balance
30
30
  system 'clear'
31
- player = YAML.load(File.read("m-playerdata.yml"))
31
+ player = YAML.load(File.read("lib/lotrd/model/playerdata.yml"))
32
32
  gold = player.gold
33
33
  balance = player.balance
34
34
  puts "Hazelwood Bank => Balance" + "\n" + "=" * 40 + "\n"*2
@@ -1,6 +1,6 @@
1
1
  require 'colorize'
2
- require_relative 'c-combatController.rb'
3
- require_relative 'v-town'
2
+ require_relative '../controller/combatController.rb'
3
+ require_relative '../view/town'
4
4
 
5
5
  module CombatView
6
6
  def start(mob)
@@ -1,4 +1,6 @@
1
- require_relative 'v-newplayer'
1
+ require_relative '../view/newplayer'
2
+ require_relative '../view/town'
3
+
2
4
  require 'artii'
3
5
 
4
6
  module DataCheck
@@ -19,7 +21,7 @@ module DataCheck
19
21
  end
20
22
 
21
23
  def present
22
- player = YAML.load(File.read("m-playerdata.yml"))
24
+ player = YAML.load(File.read("lib/lotrd/model/playerdata.yml"))
23
25
  titleStyle = Artii::Base.new :font => 'slant'
24
26
  system 'clear'
25
27
  puts "Player data located. Welcome back," +"\n"*4 + "#{(titleStyle.asciify(player.name)).colorize(:yellow)}"
@@ -4,9 +4,9 @@ require 'colorize'
4
4
  require 'artii'
5
5
  require 'terminal-table'
6
6
 
7
- require_relative 'v-town'
8
- require_relative 'm-player'
9
- require_relative 'c-leaderboardController'
7
+ require_relative '../view/town'
8
+ require_relative '../model/player'
9
+ require_relative '../controller/leaderboardController'
10
10
 
11
11
 
12
12
  module Leaderboard
@@ -20,7 +20,7 @@ module Leaderboard
20
20
  end
21
21
 
22
22
  def loadIn
23
- @player = YAML.load(File.read("m-playerdata.yml"))
23
+ @player = YAML.load(File.read("lib/lotrd/model/playerdata.yml"))
24
24
  @name = @player.name
25
25
  @gold = @player.gold
26
26
  @balance = @player.balance
@@ -1,5 +1,5 @@
1
- require_relative 'c-playergen'
2
- require_relative 'v-town'
1
+ require_relative '../controller/playergen'
2
+ require_relative '../view/town'
3
3
  require 'yaml'
4
4
 
5
5
  module NewPlayer
@@ -2,9 +2,9 @@ require 'yaml'
2
2
  require 'tty-prompt'
3
3
  require 'colorize'
4
4
 
5
- require_relative 'm-player'
6
- require_relative 'c-storeBuy'
7
- require_relative 'v-town'
5
+ require_relative '../model/player'
6
+ require_relative '../controller/storeBuy'
7
+ require_relative '../view/town'
8
8
 
9
9
  module Store
10
10
  def menu
@@ -22,7 +22,7 @@ module Store
22
22
  def weapons_menu
23
23
  system 'clear'
24
24
  puts "Hephy's Forge -> Weapons Menu" + "\n" + "=" * 40 + "\n"*2
25
- weap_stats = YAML.load(File.read("m-weap_stats.yml"))
25
+ weap_stats = YAML.load(File.read("lib/lotrd/model/weap_stats.yml"))
26
26
  weap_list = weap_stats.keys
27
27
  prompt = TTY::Prompt.new
28
28
  prompt.select("Here's what we have in stock today:") do |menu|
@@ -36,7 +36,7 @@ module Store
36
36
  def armour_menu
37
37
  system 'clear'
38
38
  puts "Hephy's Forge -> Armours Menu" + "\n" + "=" * 40 + "\n"*2
39
- arm_stats = YAML.load(File.read("m-arm_stats.yml"))
39
+ arm_stats = YAML.load(File.read("lib/lotrd/model/arm_stats.yml"))
40
40
  arm_list = arm_stats.keys
41
41
  prompt = TTY::Prompt.new
42
42
  prompt.select("Here's what we have in stock today:") do |menu|
@@ -57,7 +57,7 @@ module Store
57
57
 
58
58
  def leave
59
59
  system 'clear'
60
- player = YAML.load(File.read("model/playerdata.yml"))
60
+ player = YAML.load(File.read("lib/lotrd/model/playerdata.yml"))
61
61
  puts "Hephy's Forge" + "\n" + "=" * 40 + "\n"*2
62
62
  puts "Stay alive out there, #{player.name.colorize(:yellow)}!"
63
63
  sleep(3)
@@ -3,16 +3,16 @@ require 'tty-prompt'
3
3
  require 'colorize'
4
4
  require 'artii'
5
5
 
6
- require_relative 'v-adventure'
7
- require_relative 'v-bank'
8
- require_relative 'v-store'
9
- require_relative 'v-leaderboard'
10
- require_relative 'm-events'
6
+ require_relative 'adventure'
7
+ require_relative 'bank'
8
+ require_relative 'store'
9
+ require_relative 'leaderboard'
10
+ require_relative '../model/events'
11
11
 
12
12
  module Town
13
13
  def menu
14
14
  system 'clear'
15
- player = YAML.load(File.read("m-playerdata.yml"))
15
+ player = YAML.load(File.read("lib/lotrd/model/playerdata.yml"))
16
16
  puts "Welcome to #{'Hazelwood'.colorize(:magenta)}, #{player.name.colorize(:yellow)}!" + "\n" + "=" * 40 + "\n"*2
17
17
  puts ::Events.town + "\n"*2
18
18
  prompt = TTY::Prompt.new
@@ -27,7 +27,7 @@ module Town
27
27
 
28
28
  def quit
29
29
  system 'clear'
30
- player = YAML.load(File.read("m-playerdata.yml"))
30
+ player = YAML.load(File.read("lib/lotrd/model/playerdata.yml"))
31
31
  system 'clear'
32
32
  titleStyle = Artii::Base.new :font => 'slant'
33
33
  puts "Thanks for playing! See you next time," +"\n"*4 + "#{(titleStyle.asciify(player.name)).colorize(:yellow)}"
Binary file
Binary file
@@ -12,7 +12,7 @@ Gem::Specification.new do |spec|
12
12
 
13
13
  spec.summary = %q{"CLI text-based RPF app. Inspired by Legend of the Red Dragon and Legendd of the Green Dragon."}
14
14
  spec.description = %q{"Create your character, slay enemies, stare at yourself, hoarde gold, get shiny things, stare at yourself some more!"}
15
- spec.homepage = "https://github.com/thejayneo/cli-app"
15
+ spec.homepage = "https://github.com/thejayneo/lotrd"
16
16
  spec.license = "MIT"
17
17
 
18
18
  # Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
@@ -21,8 +21,8 @@ Gem::Specification.new do |spec|
21
21
  spec.metadata["allowed_push_host"] = "https://rubygems.org"
22
22
 
23
23
  spec.metadata["homepage_uri"] = spec.homepage
24
- spec.metadata["source_code_uri"] = "https://github.com/thejayneo/cli-app"
25
- spec.metadata["changelog_uri"] = "https://github.com/thejayneo/cli-app"
24
+ spec.metadata["source_code_uri"] = "https://github.com/thejayneo/lotrd"
25
+ spec.metadata["changelog_uri"] = "https://github.com/thejayneo/lotrd"
26
26
  else
27
27
  raise "RubyGems 2.0 or newer is required to protect against " \
28
28
  "public gem pushes."
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lotrd
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6
4
+ version: 0.1.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jackson N
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-10-03 00:00:00.000000000 Z
11
+ date: 2020-10-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tty-prompt
@@ -127,33 +127,32 @@ files:
127
127
  - bin/console
128
128
  - bin/setup
129
129
  - lib/lotrd.rb
130
- - lib/lotrd/c-adventureController.rb
131
- - lib/lotrd/c-bankController.rb
132
- - lib/lotrd/c-check.rb
133
- - lib/lotrd/c-combatController.rb
134
- - lib/lotrd/c-leaderboardController.rb
135
- - lib/lotrd/c-playergen.rb
136
- - lib/lotrd/c-storeBuy.rb
137
- - lib/lotrd/lotrd.rb
138
- - lib/lotrd/m-arm_stats.yml
139
- - lib/lotrd/m-events.rb
140
- - lib/lotrd/m-job.rb
141
- - lib/lotrd/m-mob.rb
142
- - lib/lotrd/m-player.rb
143
- - lib/lotrd/m-playerdata.yml
144
- - lib/lotrd/m-race.rb
145
- - lib/lotrd/m-weap_stats.yml
146
- - lib/lotrd/v-adventure.rb
147
- - lib/lotrd/v-bank.rb
148
- - lib/lotrd/v-combatView.rb
149
- - lib/lotrd/v-datacheck.rb
150
- - lib/lotrd/v-leaderboard.rb
151
- - lib/lotrd/v-newplayer.rb
152
- - lib/lotrd/v-store.rb
153
- - lib/lotrd/v-town.rb
130
+ - lib/lotrd/controller/adventureController.rb
131
+ - lib/lotrd/controller/bankController.rb
132
+ - lib/lotrd/controller/check.rb
133
+ - lib/lotrd/controller/combatController.rb
134
+ - lib/lotrd/controller/leaderboardController.rb
135
+ - lib/lotrd/controller/playergen.rb
136
+ - lib/lotrd/controller/storeBuy.rb
137
+ - lib/lotrd/model/arm_stats.yml
138
+ - lib/lotrd/model/events.rb
139
+ - lib/lotrd/model/job.rb
140
+ - lib/lotrd/model/mob.rb
141
+ - lib/lotrd/model/player.rb
142
+ - lib/lotrd/model/playerdata.yml
143
+ - lib/lotrd/model/race.rb
144
+ - lib/lotrd/model/weap_stats.yml
154
145
  - lib/lotrd/version.rb
155
- - lotrd-0.1.3.gem
156
- - lotrd-0.1.4.gem
146
+ - lib/lotrd/view/adventure.rb
147
+ - lib/lotrd/view/bank.rb
148
+ - lib/lotrd/view/combatView.rb
149
+ - lib/lotrd/view/datacheck.rb
150
+ - lib/lotrd/view/leaderboard.rb
151
+ - lib/lotrd/view/newplayer.rb
152
+ - lib/lotrd/view/store.rb
153
+ - lib/lotrd/view/town.rb
154
+ - lotrd-0.1.6.gem
155
+ - lotrd-0.1.7.gem
157
156
  - lotrd.gemspec
158
157
  - vendor/cache/artii-2.1.2.gem
159
158
  - vendor/cache/colorize-0.8.1.gem
@@ -1503,14 +1502,14 @@ files:
1503
1502
  - vendor/cache/tty-screen-0.8.1.gem
1504
1503
  - vendor/cache/unicode-display_width-1.7.0.gem
1505
1504
  - vendor/cache/wisper-2.0.1.gem
1506
- homepage: https://github.com/thejayneo/cli-app
1505
+ homepage: https://github.com/thejayneo/lotrd
1507
1506
  licenses:
1508
1507
  - MIT
1509
1508
  metadata:
1510
1509
  allowed_push_host: https://rubygems.org
1511
- homepage_uri: https://github.com/thejayneo/cli-app
1512
- source_code_uri: https://github.com/thejayneo/cli-app
1513
- changelog_uri: https://github.com/thejayneo/cli-app
1510
+ homepage_uri: https://github.com/thejayneo/lotrd
1511
+ source_code_uri: https://github.com/thejayneo/lotrd
1512
+ changelog_uri: https://github.com/thejayneo/lotrd
1514
1513
  post_install_message:
1515
1514
  rdoc_options: []
1516
1515
  require_paths:
@@ -1,15 +0,0 @@
1
- require_relative 'v-town'
2
- require_relative 'v-newplayer'
3
- require_relative 'c-check'
4
- require 'colorize'
5
- require 'artii'
6
-
7
- system 'clear'
8
- titleStyle = Artii::Base.new :font => 'slant'
9
- puts titleStyle.asciify(' Legend')
10
- puts titleStyle.asciify(' Of The')
11
- puts titleStyle.asciify(' Ruby').colorize(:red)
12
- puts titleStyle.asciify(' Dragon')
13
- puts "\n"*2 + "A CLI remake of the text-based adventure game, #{"'Legend of the Green Dragon' (LotGD)".colorize(:green)}."
14
- sleep(5)
15
- ::Check.playerData
Binary file
Binary file