lotrd 0.1.6 → 0.1.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +1 -1
- data/Gemfile.lock +1 -1
- data/lib/lotrd.rb +1 -4
- data/lib/lotrd/{c-adventureController.rb → controller/adventureController.rb} +2 -2
- data/lib/lotrd/{c-bankController.rb → controller/bankController.rb} +5 -5
- data/lib/lotrd/{c-check.rb → controller/check.rb} +2 -2
- data/lib/lotrd/{c-combatController.rb → controller/combatController.rb} +7 -7
- data/lib/lotrd/{c-leaderboardController.rb → controller/leaderboardController.rb} +4 -4
- data/lib/lotrd/{c-playergen.rb → controller/playergen.rb} +5 -5
- data/lib/lotrd/{c-storeBuy.rb → controller/storeBuy.rb} +7 -7
- data/lib/lotrd/{m-arm_stats.yml → model/arm_stats.yml} +0 -0
- data/lib/lotrd/{m-events.rb → model/events.rb} +0 -0
- data/lib/lotrd/{m-job.rb → model/job.rb} +1 -1
- data/lib/lotrd/{m-mob.rb → model/mob.rb} +1 -1
- data/lib/lotrd/{m-player.rb → model/player.rb} +1 -1
- data/lib/lotrd/{m-playerdata.yml → model/playerdata.yml} +0 -0
- data/lib/lotrd/{m-race.rb → model/race.rb} +0 -0
- data/lib/lotrd/{m-weap_stats.yml → model/weap_stats.yml} +0 -0
- data/lib/lotrd/version.rb +1 -1
- data/lib/lotrd/{v-adventure.rb → view/adventure.rb} +5 -5
- data/lib/lotrd/{v-bank.rb → view/bank.rb} +4 -4
- data/lib/lotrd/{v-combatView.rb → view/combatView.rb} +2 -2
- data/lib/lotrd/{v-datacheck.rb → view/datacheck.rb} +4 -2
- data/lib/lotrd/{v-leaderboard.rb → view/leaderboard.rb} +4 -4
- data/lib/lotrd/{v-newplayer.rb → view/newplayer.rb} +2 -2
- data/lib/lotrd/{v-store.rb → view/store.rb} +6 -6
- data/lib/lotrd/{v-town.rb → view/town.rb} +7 -7
- data/lotrd-0.1.6.gem +0 -0
- data/lotrd-0.1.7.gem +0 -0
- data/lotrd.gemspec +3 -3
- metadata +31 -32
- data/lib/lotrd/lotrd.rb +0 -15
- data/lotrd-0.1.3.gem +0 -0
- data/lotrd-0.1.4.gem +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 89298c292f789a0f1ba64cb8ffc633defea0eda7efcccd256125dccf745ca647
|
4
|
+
data.tar.gz: 071e12d7b774f52edd837a5276949fe639f3f2bfcf7127be502b61d4c4a93302
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c051d92ad8c8e40fc591714da0b9d6ccffd4a9f7ea7a3581e94f528c772e266fbff93c81ab6116fa9622f06682aec8a0bcba95dac7c6ba833026d31d066da2f1
|
7
|
+
data.tar.gz: 77a9e484053add4379292cabb9736f9393b8b5debeaaf54747cf54be0144a197eb13194f8d205b03717b92616fc7fdc7a223499dcd75b0c4fbdfe65122d8bda8
|
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
data/lib/lotrd.rb
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
require 'yaml'
|
2
2
|
|
3
|
-
require_relative '
|
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("
|
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('
|
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("
|
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('
|
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,
|
@@ -2,8 +2,8 @@ require 'yaml'
|
|
2
2
|
require 'tty-prompt'
|
3
3
|
require 'colorize'
|
4
4
|
|
5
|
-
require_relative '
|
6
|
-
require_relative '
|
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("
|
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("
|
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('
|
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("
|
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('
|
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 '
|
6
|
-
require_relative '
|
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("
|
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('
|
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 '
|
2
|
-
require_relative '
|
3
|
-
require_relative '
|
4
|
-
require_relative '
|
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('
|
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 '
|
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("
|
10
|
-
weap_stats = YAML.load(File.read("
|
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('
|
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("
|
57
|
-
arm_stats = YAML.load(File.read("
|
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('
|
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
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
data/lib/lotrd/version.rb
CHANGED
@@ -1,8 +1,8 @@
|
|
1
|
-
require_relative '
|
2
|
-
require_relative '
|
3
|
-
require_relative '
|
4
|
-
require_relative '
|
5
|
-
require_relative '
|
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 '
|
5
|
-
require_relative '
|
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("
|
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("
|
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,4 +1,6 @@
|
|
1
|
-
require_relative '
|
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("
|
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 '
|
8
|
-
require_relative '
|
9
|
-
require_relative '
|
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("
|
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
|
@@ -2,9 +2,9 @@ require 'yaml'
|
|
2
2
|
require 'tty-prompt'
|
3
3
|
require 'colorize'
|
4
4
|
|
5
|
-
require_relative '
|
6
|
-
require_relative '
|
7
|
-
require_relative '
|
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("
|
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("
|
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 '
|
7
|
-
require_relative '
|
8
|
-
require_relative '
|
9
|
-
require_relative '
|
10
|
-
require_relative '
|
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("
|
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("
|
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)}"
|
data/lotrd-0.1.6.gem
ADDED
Binary file
|
data/lotrd-0.1.7.gem
ADDED
Binary file
|
data/lotrd.gemspec
CHANGED
@@ -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/
|
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/
|
25
|
-
spec.metadata["changelog_uri"] = "https://github.com/thejayneo/
|
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.
|
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-
|
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/
|
131
|
-
- lib/lotrd/
|
132
|
-
- lib/lotrd/
|
133
|
-
- lib/lotrd/
|
134
|
-
- lib/lotrd/
|
135
|
-
- lib/lotrd/
|
136
|
-
- lib/lotrd/
|
137
|
-
- lib/lotrd/
|
138
|
-
- lib/lotrd/
|
139
|
-
- lib/lotrd/
|
140
|
-
- lib/lotrd/
|
141
|
-
- lib/lotrd/
|
142
|
-
- lib/lotrd/
|
143
|
-
- lib/lotrd/
|
144
|
-
- lib/lotrd/
|
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
|
156
|
-
- lotrd
|
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/
|
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/
|
1512
|
-
source_code_uri: https://github.com/thejayneo/
|
1513
|
-
changelog_uri: https://github.com/thejayneo/
|
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:
|
data/lib/lotrd/lotrd.rb
DELETED
@@ -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
|
data/lotrd-0.1.3.gem
DELETED
Binary file
|
data/lotrd-0.1.4.gem
DELETED
Binary file
|