alchy 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: de6cafeb0ad63fcbee288ea104e35edfb930f655
4
+ data.tar.gz: 2985629d28891b6a7fe36f8e8d71661aaa31797e
5
+ SHA512:
6
+ metadata.gz: 34249b01be440f8df54319ccd9a8a117d8147b252bd053fc5b047eb95b67bcebdc6a745782f1062fa454b764a57641fffee3824cf747b56ab20b677591e74151
7
+ data.tar.gz: 9f27ae526a4a126bd40859f7ce4674850cf664a45d2699546fde674487daef42cfc44cf59dd43af738b1f6b3054f488958c1d105a263258e15489d12790389b0
@@ -0,0 +1,5 @@
1
+ #!/usr/bin/env ruby -wU
2
+
3
+ require 'alchy'
4
+
5
+ Alchy::Terminal.start( ARGV )
@@ -0,0 +1,92 @@
1
+ require 'fileutils'
2
+ require 'yaml'
3
+
4
+ require 'alchy/offspring'
5
+ require 'alchy/element'
6
+ require 'alchy/game'
7
+ require 'alchy/cli'
8
+
9
+ module Alchy
10
+ ELEMENTS = YAML::load_file(File.join(File.dirname(__FILE__), 'combinations.yml'))
11
+ # def sort
12
+ # hash = YAML::load_file("combinations.yml")
13
+ # hash = hash.sort_by{ |k, v| k }.to_h
14
+ #
15
+ # sorted = hash.each do |k, v|
16
+ # hash[k] = hash[k].sort_by{ |k, v| k }.to_h
17
+ # hash[k]
18
+ # end
19
+ #
20
+ # File.open('combinations.yml', 'w') {|f| f.write hash.to_yaml }
21
+ # end
22
+ #
23
+ # def duplicate
24
+ # hash = YAML::load_file("combinations.yml")
25
+ #
26
+ # hash.each do |key, value|
27
+ # value.each do |k,v|
28
+ # if key == k
29
+ # puts "same key-k"
30
+ # else
31
+ # puts hash[k]
32
+ # puts hash[k].class
33
+ # if hash[k].kind_of? Hash
34
+ # puts "merging with {#{key}: #{v}}"
35
+ # hash[k].merge!({key => v})
36
+ # end
37
+ # end
38
+ # end
39
+ # end
40
+ #
41
+ # File.open('combinations.yml', 'w') {|f| f.write hash.to_yaml }
42
+ # end
43
+
44
+ # require 'active_support/inflector'
45
+ #
46
+ # def yaml
47
+ # YAML::load_file("combinations.yml")
48
+ # end
49
+ #
50
+ # def make_hash
51
+ # hash = {}
52
+ #
53
+ # File.open("combinations.txt").each do |line|
54
+ # puts line
55
+ # words = line.match(/([a-zA-Z0-9 _.-]+) = ([a-zA-Z0-9 _.-]+) \+ ([a-zA-Z0-9 _.-]+)/).captures
56
+ #
57
+ # word_1 = ActiveSupport::Inflector.parameterize(words[0], "_")
58
+ # word_2 = ActiveSupport::Inflector.parameterize(words[1], "_")
59
+ # word_3 = ActiveSupport::Inflector.parameterize(words[2], "_")
60
+ #
61
+ # hash[word_2] = hash[word_2].to_h.merge({word_3 => word_1})
62
+ # end
63
+ #
64
+ # hash = hash.sort_by{ |k, v| k }.to_h
65
+ #
66
+ # sorted = hash.each do |k, v|
67
+ # hash[k] = hash[k].sort_by{ |k, v| k }.to_h
68
+ # hash[k]
69
+ # end
70
+ #
71
+ # File.open('combinations.yml', 'w') {|f| f.write hash.to_yaml }
72
+ # return hash
73
+ # end
74
+ #
75
+ # def make_string
76
+ # string = ""
77
+ #
78
+ # File.open("combinations.txt").each do |line|
79
+ # puts line
80
+ # words = line.match(/([a-zA-Z0-9 _.-]+) = ([a-zA-Z0-9 _.-]+) \+ ([a-zA-Z0-9 _.-]+)/).captures
81
+ #
82
+ # word_1 = ActiveSupport::Inflector.parameterize(words[0], "_")
83
+ # word_2 = ActiveSupport::Inflector.parameterize(words[1], "_")
84
+ # word_3 = ActiveSupport::Inflector.parameterize(words[2], "_")
85
+ #
86
+ # string = "#{string}\n#{word_1}=#{word_2}+#{word_3}"
87
+ # end
88
+ #
89
+ # File.open('combinations_new.txt', 'w') {|f| f.write string }
90
+ # return hash
91
+ # end
92
+ end
@@ -0,0 +1,27 @@
1
+ require 'thor'
2
+
3
+ module Alchy
4
+ class Terminal < Thor
5
+ desc "combine", "combine two elements to create a new element"
6
+ def combine(mother, father)
7
+ game = Alchy::Game.new
8
+ game.make_with(mother, father)
9
+ end
10
+
11
+ desc "show", "show all created elements"
12
+ def show
13
+ game = Alchy::Game.new
14
+ game.show
15
+ end
16
+
17
+ # desc "origin", "shows element origin"
18
+ # def origin(element)
19
+ # Alchy::Element.new(element).origin
20
+ # end
21
+ #
22
+ # desc "offsprings", "shows all possible offsprings of element"
23
+ # def offsprings(element)
24
+ # Alchy::Element.new(element).offsprings
25
+ # end
26
+ end
27
+ end
@@ -0,0 +1,42 @@
1
+ module Alchy
2
+ class Element
3
+ attr_accessor :name
4
+
5
+ def initialize(name)
6
+ self.name = name
7
+ end
8
+
9
+ def offsprings
10
+ read { |combis| puts "with #{combis[0]} => #{combis[1]}"}
11
+ return
12
+ end
13
+
14
+ def origin
15
+ search_for { |parents| puts "from #{parents[0]} and #{parents[1]}" }
16
+ return
17
+ end
18
+
19
+ private
20
+ def read
21
+ Alchy::ELEMENTS.each do |mother, combi|
22
+ if mother == self.name
23
+ combi.each do |father, child|
24
+ yield [father, child]
25
+ end
26
+ else
27
+ combi.each do |father, child|
28
+ yield [mother, child] if father == self.name
29
+ end
30
+ end
31
+ end
32
+ end
33
+
34
+ def search_for(&block)
35
+ Alchy::ELEMENTS.each do |mother, combi|
36
+ combi.each do |father, child|
37
+ yield [mother, father] if child == self.name
38
+ end
39
+ end
40
+ end
41
+ end
42
+ end
@@ -0,0 +1,77 @@
1
+ module Alchy
2
+ class Game
3
+ attr_accessor :discovered
4
+ SAVE_FILE = "#{Dir.home}/alchy.yml"
5
+ STARTERS = %w(earth water air fire)
6
+
7
+ def initialize
8
+ load_or_create_save_file
9
+ end
10
+
11
+ def append(element)
12
+ unless discovered.include?(element)
13
+ discovered.push(element)
14
+ save
15
+ read
16
+ end
17
+ return
18
+ end
19
+
20
+ def show
21
+ (STARTERS + discovered).each do |element|
22
+ puts element
23
+ end
24
+ return
25
+ end
26
+
27
+ def make_with(mother, father)
28
+ if allowed?(mother) && allowed?(father)
29
+ os = Offspring.new(mother: mother, father: father)
30
+ append(os.child) if os.create
31
+ else
32
+ puts "You need to find both #{mother} and #{father} first!"
33
+ end
34
+ return
35
+ end
36
+
37
+ private
38
+
39
+ def read
40
+ self.discovered = YAML::load_file(SAVE_FILE)
41
+ end
42
+
43
+ def save
44
+ File.open(SAVE_FILE, 'w') {|f| f.write self.discovered.to_yaml }
45
+ end
46
+
47
+ def purge
48
+ FileUtils.rm(SAVE_FILE)
49
+ load_or_create_save_file
50
+ end
51
+
52
+ def load_or_create_save_file
53
+ FileUtils.touch(SAVE_FILE)
54
+ safely_load
55
+ end
56
+
57
+ def safely_load
58
+ begin
59
+ self.discovered = YAML::load_file(SAVE_FILE)
60
+ create_empty_save_file if discovered.nil? || !discovered
61
+ purge unless discovered.kind_of?(Array)
62
+ rescue
63
+ purge
64
+ end
65
+ end
66
+
67
+ def create_empty_save_file
68
+ self.discovered = []
69
+ save
70
+ read
71
+ end
72
+
73
+ def allowed?(element)
74
+ STARTERS.include?(element) || discovered.include?(element)
75
+ end
76
+ end
77
+ end
@@ -0,0 +1,24 @@
1
+ module Alchy
2
+ class Offspring
3
+ attr_accessor :mother, :father, :child
4
+
5
+ def initialize(mother: "", father: "")
6
+ self.mother = mother
7
+ self.father = father
8
+ end
9
+
10
+ def create
11
+ child = find
12
+ unless child.nil?
13
+ puts "New element, #{child} 🎉"
14
+ self.child = child
15
+ return child
16
+ end
17
+ end
18
+
19
+ private
20
+ def find
21
+ Alchy::ELEMENTS[mother].to_h[father] || Alchy::ELEMENTS[father].to_h[mother]
22
+ end
23
+ end
24
+ end
@@ -0,0 +1,571 @@
1
+ ---
2
+ 1up:
3
+ egg: yoshi
4
+ man: mario
5
+ air:
6
+ air: wind
7
+ bacteria: flu
8
+ cloud: sky
9
+ dinosaur: pterodactyl
10
+ earth: dust
11
+ egg: bird
12
+ energy: storm
13
+ fire: energy
14
+ lava: stone
15
+ steam: cloud
16
+ water: steam
17
+ worm: butterfly
18
+ airplane:
19
+ metal: aluminium
20
+ alcohol:
21
+ flower: perfume
22
+ oxygen: vinegar
23
+ peat: scotch_whiskey
24
+ water: vodka
25
+ wheat: beer
26
+ worm: tequila
27
+ algae:
28
+ fire: iodine
29
+ alien:
30
+ airplane: ufo
31
+ aluminuim:
32
+ glass: mirror
33
+ oxygen: ruby
34
+ arable:
35
+ seed: wheat
36
+ arms:
37
+ gunpowder: firearms
38
+ hunter: warrior
39
+ light: lightsaber
40
+ man: hunter
41
+ poison: poisoned_weapons
42
+ ash:
43
+ fat: soap
44
+ glass: ashtray
45
+ life: ghost
46
+ assassin:
47
+ firearms: sniper
48
+ time: prisoner
49
+ bacteria:
50
+ milk: yogurt
51
+ plankton: fish
52
+ swamp: sulfur
53
+ water: plankton
54
+ bat:
55
+ man: batman
56
+ beast:
57
+ cart: team
58
+ forest: bear
59
+ hunter: wool
60
+ man: livestock
61
+ museum: zoo
62
+ vampire: werewolf
63
+ water: whale
64
+ beatles:
65
+ country: united_kingdom
66
+ bee:
67
+ tree: honey
68
+ beetle:
69
+ beetle: the_beatles
70
+ manure: scarab
71
+ sand: scorpion
72
+ beetroot:
73
+ fire: borscht
74
+ berry:
75
+ pressure: juice
76
+ bicycle:
77
+ combustion_engine: morotcycle
78
+ bird:
79
+ flu: avian_flu
80
+ hunter: feather
81
+ ice: penguin
82
+ storm: thunderbird
83
+ vampire: bat
84
+ bitumen:
85
+ pressure: petroleum
86
+ blood:
87
+ man: vampire
88
+ worm: leech
89
+ boat:
90
+ cloth: sailboat
91
+ combustion_engine: motorboat
92
+ wood: wooden_ship
93
+ boiler:
94
+ coal: steam_engine
95
+ book:
96
+ book: library
97
+ sex: kama_sutra
98
+ brick:
99
+ concrete: brick_house
100
+ brick_house:
101
+ beer: bar
102
+ fossil: museum
103
+ glass: skyscraper
104
+ sick: hospital
105
+ butterfly:
106
+ earth: fossil
107
+ cactus:
108
+ beetle: cochineal
109
+ cancer:
110
+ bike: lance_armstrong
111
+ car:
112
+ beetle: vw_beetle
113
+ life: transformers
114
+ carbon_dioxide:
115
+ water: soda_water
116
+ cart:
117
+ combustion_engine: car
118
+ steam_engine: locomotive
119
+ cat:
120
+ country: egypt
121
+ dog: catdog
122
+ mummy: egypt
123
+ cement:
124
+ water: concrete
125
+ ceramics:
126
+ coin: piggy_bank
127
+ champagne:
128
+ country: france
129
+ cheese:
130
+ beast: mouse
131
+ dough: pizza
132
+ fire: fondue
133
+ sky: moon
134
+ chicken:
135
+ fire: fried_chicken
136
+ hut: hen_coop
137
+ china:
138
+ cloth: silk
139
+ chocolate:
140
+ fire: hot_chocolate
141
+ city:
142
+ city: country
143
+ water: venice
144
+ clay:
145
+ fire: brick
146
+ life: golem
147
+ limestone: cement
148
+ man: ceramics
149
+ cloth:
150
+ man: clothing
151
+ wooden_ship: sailing_ship
152
+ coal:
153
+ pressure: uncut_diamond
154
+ coca-cola:
155
+ country: usa
156
+ geyser: mentos
157
+ cochineal:
158
+ fire: carmine
159
+ cocoa:
160
+ sugar: chocolate
161
+ coin:
162
+ paper: money
163
+ continent:
164
+ continent: planet
165
+ corpse:
166
+ bird: vulture
167
+ electricity: frankenstein
168
+ wood: coffin
169
+ country:
170
+ country: continent
171
+ dam:
172
+ beast: beaver
173
+ desert:
174
+ beast: camel
175
+ tree: cactus
176
+ dilemma:
177
+ scientist: philosophy
178
+ dinosaur:
179
+ fire: dragon
180
+ pterodactyl: dragon
181
+ doctor:
182
+ lobster: dr_zoidberg
183
+ dough:
184
+ fire: bread
185
+ dragon:
186
+ country: china
187
+ warrior: hero
188
+ dust:
189
+ fire: gunpowder
190
+ water: mud
191
+ earth:
192
+ algae: mushroom
193
+ corpse: grave
194
+ earth: pressure
195
+ egg: dinosaur
196
+ fire: lava
197
+ lizard: beast
198
+ moss: grass
199
+ plankton: worm
200
+ seed: tree
201
+ tool: arable
202
+ water: swamp
203
+ wood: grape
204
+ worm: beetle
205
+ egg:
206
+ chicken: dilemma
207
+ diamond: fabrege_egg
208
+ fire: omelette
209
+ life: chicken
210
+ electricity:
211
+ glass: light_bulb
212
+ light_bulb: light
213
+ water: oxygen
214
+ energy:
215
+ metal: electricity
216
+ swamp: life
217
+ feather:
218
+ cloth: pillow
219
+ paper: book
220
+ fire:
221
+ alcohol: molotov_cocktail
222
+ bird: phoenix
223
+ bread: toast
224
+ grass: tobacco
225
+ life: fire_elemental
226
+ limestone: lime
227
+ man: corpse
228
+ meat: barbeque
229
+ pig: bacon
230
+ sand: glass
231
+ stone: metal
232
+ tree: coal
233
+ water: alcohol
234
+ firearms:
235
+ man: soldier
236
+ fish:
237
+ algae: sushi
238
+ egg: caviar
239
+ electricity: electric_ray
240
+ fish: caviar
241
+ poison: fugu
242
+ flour:
243
+ beetle: weevil
244
+ water: dough
245
+ flower:
246
+ beetle: bee
247
+ fondue:
248
+ country: switzerland
249
+ forest:
250
+ ghost: totoro
251
+ hero: robin_hood
252
+ fossil:
253
+ life: zombie
254
+ pressure: kerogen
255
+ frog:
256
+ 1up: kangaroo
257
+ fruit:
258
+ dough: pie
259
+ gasoline:
260
+ fire: explosion
261
+ ghost:
262
+ energy: ectoplasm
263
+ glass:
264
+ bacteria: petri_dish
265
+ fire: lamp
266
+ fish: aquarium
267
+ sand: hourglass
268
+ gold:
269
+ robot: c-3po
270
+ golem:
271
+ beast: man
272
+ life: man
273
+ grape:
274
+ alcohol: wine
275
+ grass:
276
+ fruit: berry
277
+ livestock: manure
278
+ swamp: reed
279
+ grave:
280
+ grave: cemetery
281
+ grove:
282
+ grove: forest
283
+ hero:
284
+ fire: firefighter
285
+ hospital:
286
+ car: ambulance
287
+ scientist: doctor
288
+ hourglass:
289
+ electricity: clock
290
+ hunter:
291
+ fish: fisherman
292
+ ghost: ghostbusters
293
+ jedi:
294
+ assassin: sith
295
+ sith: star_wars
296
+ swamp: yoda
297
+ kama_sutra:
298
+ country: india
299
+ kangaroo:
300
+ country: austrialia
301
+ kerogen:
302
+ pressure: bitumen
303
+ knife:
304
+ knife: scissors
305
+ tool: swiss_army_knife
306
+ lamp:
307
+ ghost: genie
308
+ lava:
309
+ lamp: lava_lamp
310
+ life: lava_golem
311
+ pressure: volcano
312
+ lawn_mower:
313
+ arable: tractor
314
+ library:
315
+ man: scientist
316
+ life:
317
+ dust: mite
318
+ hourglass: time
319
+ mushroom: 1up
320
+ sand: seed
321
+ stone: egg
322
+ swamp: bacteria
323
+ water: algae
324
+ light:
325
+ beetle: firefly
326
+ storm: rainbow
327
+ lime:
328
+ reed: sugar
329
+ limestone:
330
+ manure: saltpeter
331
+ livestock:
332
+ livestock: milk
333
+ man: milk
334
+ mud: pig
335
+ lizard:
336
+ fire: salamander
337
+ swamp: frog
338
+ man:
339
+ alcohol: alcoholic
340
+ boat: sailor
341
+ flu: sick
342
+ light_bulb: idea
343
+ metal: tool
344
+ pig: salo
345
+ poisoned_weapons: assassin
346
+ seed: farmer
347
+ sex: baby
348
+ stone: hut
349
+ time: old_man
350
+ tobacco: cancer
351
+ vicodin: house_m_d
352
+ woman: sex
353
+ yogurt: diet
354
+ meat:
355
+ bread: sandwich
356
+ tool: knife
357
+ metal:
358
+ bird: airplane
359
+ life: metal_golem
360
+ steam: boiler
361
+ tool: arms
362
+ wind: sound
363
+ metal_golem:
364
+ electricity: robot
365
+ microchip:
366
+ book: e-book
367
+ milk:
368
+ man: woman
369
+ yogurt: soured_milk
370
+ mold:
371
+ scientist: penicillin
372
+ moon:
373
+ beast: wolf
374
+ metal: silver
375
+ moss:
376
+ swamp: fern
377
+ mouse:
378
+ hunter: cat
379
+ mushroom:
380
+ algae: lichen
381
+ mud: mold
382
+ tool: poison
383
+ old_man:
384
+ christmas_tree: santa_clause
385
+ oxygen:
386
+ electricity: ozone
387
+ hydrogen: oxyhydrogen
388
+ man: carbon_dioxide
389
+ paper:
390
+ tobacco: cigarettes
391
+ zombie: mummy
392
+ petroleum:
393
+ country: saudi_arabia
394
+ pressure: gasoline
395
+ phone:
396
+ fruit: iphone
397
+ pig:
398
+ flu: swine_flu
399
+ plankton:
400
+ stone: shells
401
+ pressure:
402
+ sand: silicon
403
+ quark:
404
+ fire: cheese
405
+ reed:
406
+ tool: paper
407
+ robin_hood:
408
+ arms: bow
409
+ salo:
410
+ country: ukraine
411
+ sand:
412
+ egg: turtle
413
+ sand: desert
414
+ shells: pearl
415
+ storm: sandstorm
416
+ swamp: clay
417
+ sauna:
418
+ country: finland
419
+ scientist:
420
+ energy: albert_einstein
421
+ scissors:
422
+ combustion_engine: lawn_mower
423
+ scorpion:
424
+ water: lobster
425
+ scotch_whiskey:
426
+ country: scotland
427
+ scotland:
428
+ clothing: kilt
429
+ sea:
430
+ fire: salt
431
+ volcano: island
432
+ seed:
433
+ mexico: cocoa
434
+ sex:
435
+ city: sex_and_the_city
436
+ woman: baby
437
+ shells:
438
+ stone: limestone
439
+ worm: snail
440
+ sick:
441
+ doctor: vicodin
442
+ silicon:
443
+ electricity: transistor
444
+ silver:
445
+ gold: copper
446
+ mario: coin
447
+ pressure: coin
448
+ sky:
449
+ chariot: sun
450
+ skyscraper:
451
+ light: lighthouse
452
+ skyscraper: city
453
+ snake:
454
+ bird: quetzalcoatl
455
+ electricity: electric_eel
456
+ worm: lizard
457
+ soda_water:
458
+ carmine: coca-cola
459
+ wine: champagne
460
+ sound:
461
+ idea: music
462
+ soured_milk:
463
+ fire: whey
464
+ spinning_wheel:
465
+ wool: yarn
466
+ yarn: thread
467
+ star:
468
+ life: alien
469
+ star_wars:
470
+ robot: r2-d2
471
+ steam:
472
+ earth: geyser
473
+ hut: sauna
474
+ steam_engine:
475
+ gasoline: combustion_engine
476
+ wooden_ship: steamer
477
+ stone:
478
+ tool: statue
479
+ wheat: flour
480
+ storm:
481
+ electricity: thunderstorm
482
+ water: typhoon
483
+ sugar:
484
+ fire: caramel
485
+ seed: beetroot
486
+ sun:
487
+ flower: sunflower
488
+ scientist: star
489
+ sushi:
490
+ country: japan
491
+ swamp:
492
+ algae: moss
493
+ sand: snake
494
+ tree: peat
495
+ worm: snake
496
+ tequila:
497
+ country: mexico
498
+ thread:
499
+ copper: wire
500
+ thunderstorm:
501
+ metal: lightning_rod
502
+ tobacco:
503
+ cigarettes: smoke
504
+ fire: smoke
505
+ tool:
506
+ tree: wood
507
+ wood: wheel
508
+ wool: cloth
509
+ tractor:
510
+ country: belarus
511
+ transistor:
512
+ transistor: microchip
513
+ transylvania:
514
+ country: romania
515
+ tree:
516
+ beast: panda
517
+ farmer: fruit
518
+ life: ent
519
+ lightbulb: christmas_tree
520
+ tree: grove
521
+ ufo:
522
+ arable: crop_circles
523
+ uncut_diamond:
524
+ tool: diamond
525
+ usa:
526
+ statue: statue_of_liberty
527
+ vampire:
528
+ country: transylvania
529
+ werewolf: twilight_saga
530
+ venice:
531
+ country: italy
532
+ vodka:
533
+ country: russia
534
+ volcano:
535
+ country: iceland
536
+ vw_beetle:
537
+ country: germany
538
+ warrior:
539
+ cart: chariot
540
+ lightsaber: jedi
541
+ water:
542
+ brick: dam
543
+ cloud: rain
544
+ dinosaur: plesiosauria
545
+ glass: ice
546
+ metal: rust
547
+ sand: beach
548
+ seed: flower
549
+ stone: sand
550
+ water: sea
551
+ whale:
552
+ earth: elephant
553
+ wheel:
554
+ wheel: bicycle
555
+ wood: cart
556
+ wool: spinning_wheel
557
+ wire:
558
+ sound: phone
559
+ wolf:
560
+ man: dog
561
+ woman:
562
+ fish: mermaid
563
+ planet: venus
564
+ wood:
565
+ knife: stake
566
+ life: pinocchio
567
+ water: boat
568
+ yarn:
569
+ tool: sweater
570
+ zombie:
571
+ corpse: undead
metadata ADDED
@@ -0,0 +1,65 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: alchy
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.2
5
+ platform: ruby
6
+ authors:
7
+ - Swaathi Kakarla
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2016-08-13 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: thor
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
27
+ description: Play the famous Alchemy game from your terminal.
28
+ email: swaathi@skcript.com
29
+ executables:
30
+ - alchy
31
+ extensions: []
32
+ extra_rdoc_files: []
33
+ files:
34
+ - bin/alchy
35
+ - lib/alchy.rb
36
+ - lib/alchy/cli.rb
37
+ - lib/alchy/element.rb
38
+ - lib/alchy/game.rb
39
+ - lib/alchy/offspring.rb
40
+ - lib/combinations.yml
41
+ homepage: http://github.com/skcript/alchy
42
+ licenses:
43
+ - MIT
44
+ metadata: {}
45
+ post_install_message:
46
+ rdoc_options: []
47
+ require_paths:
48
+ - lib
49
+ required_ruby_version: !ruby/object:Gem::Requirement
50
+ requirements:
51
+ - - ">="
52
+ - !ruby/object:Gem::Version
53
+ version: '0'
54
+ required_rubygems_version: !ruby/object:Gem::Requirement
55
+ requirements:
56
+ - - ">="
57
+ - !ruby/object:Gem::Version
58
+ version: '0'
59
+ requirements: []
60
+ rubyforge_project:
61
+ rubygems_version: 2.2.2
62
+ signing_key:
63
+ specification_version: 4
64
+ summary: Play Alchemy right from your terminal!
65
+ test_files: []