studio_game_bmr 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
data/LICENSE ADDED
@@ -0,0 +1,7 @@
1
+ Copyright (C) 2012 Bobby M Ray
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
4
+
5
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
6
+
7
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README ADDED
@@ -0,0 +1,2 @@
1
+ w00t and blam the Three Stooges.
2
+ Run the game and enter the number of rounds you want to play, or 'quit' to exit.
@@ -0,0 +1,6 @@
1
+ Knuckleheads High Scores:
2
+ Berserker........... 670
3
+ Theo................ 620
4
+ Klutz............... 425
5
+ Simon............... 160
6
+ Alvin............... 130
data/bin/players.csv ADDED
@@ -0,0 +1,3 @@
1
+ Alvin,100
2
+ Simon,60
3
+ Theo,125
data/bin/studio_game ADDED
@@ -0,0 +1,29 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require_relative '../lib/studio_game/game'
4
+ require_relative '../lib/studio_game/clumsy_player'
5
+ require_relative '../lib/studio_game/berserk_player'
6
+
7
+ knuckleheads = StudioGame::Game.new("Knuckleheads")
8
+
9
+ default_player_file = File.join(File.dirname(__FILE__), 'players.csv')
10
+ knuckleheads.load_players(ARGV.shift || default_player_file)
11
+
12
+ knuckleheads.add_player(StudioGame::ClumsyPlayer.new("klutz", 105))
13
+ knuckleheads.add_player(StudioGame::BerserkPlayer.new("berserker", 50))
14
+
15
+ loop do
16
+ puts "How many game rounds? ('quit' to exit)"
17
+ answer = gets.chomp.downcase
18
+ case answer
19
+ when /^\d+$/
20
+ knuckleheads.play(answer.to_i)
21
+ when 'quit', 'exit'
22
+ knuckleheads.print_stats
23
+ break
24
+ else
25
+ puts "Please enter a number or 'quit'"
26
+ end
27
+ end
28
+
29
+ knuckleheads.save_high_scores
@@ -0,0 +1,11 @@
1
+ module StudioGame
2
+
3
+ module Auditable
4
+
5
+ def audit
6
+ puts "Rolled a #{self.number} (#{self.class})"
7
+ end
8
+
9
+ end
10
+
11
+ end
@@ -0,0 +1,28 @@
1
+ require_relative "player"
2
+
3
+ module StudioGame
4
+
5
+ class BerserkPlayer < Player
6
+
7
+ def initialize(name, health=100)
8
+ super(name, health)
9
+ @w00t_count = 0
10
+ end
11
+
12
+ def berserk?
13
+ @w00t_count > 5
14
+ end
15
+
16
+ def w00t
17
+ super
18
+ @w00t_count += 1
19
+ puts "#{name} is berserk!" if berserk?
20
+ end
21
+
22
+ def blam
23
+ berserk? ? w00t : super
24
+ end
25
+
26
+ end
27
+
28
+ end
@@ -0,0 +1,25 @@
1
+ require_relative 'player'
2
+ require_relative 'treasure_trove'
3
+
4
+ module StudioGame
5
+
6
+ class ClumsyPlayer < Player
7
+
8
+ attr_reader :boost_factor
9
+
10
+ def initialize(name, health=100, boost_factor=1)
11
+ super(name, health)
12
+ @boost_factor = boost_factor
13
+ end
14
+
15
+ def w00t
16
+ @boost_factor.times { super }
17
+ end
18
+
19
+ def found_treasure(treasure)
20
+ super(Treasure.new(treasure.name, treasure.points / 2))
21
+ end
22
+
23
+ end
24
+
25
+ end
@@ -0,0 +1,22 @@
1
+ require_relative "auditable"
2
+
3
+ module StudioGame
4
+
5
+ class Die
6
+ include Auditable
7
+
8
+ attr_reader :number
9
+
10
+ def initialize
11
+ roll
12
+ end
13
+
14
+ def roll
15
+ @number = rand(1..6)
16
+ audit
17
+ @number
18
+ end
19
+
20
+ end
21
+
22
+ end
@@ -0,0 +1,105 @@
1
+ require_relative 'player'
2
+ require_relative 'die'
3
+ require_relative 'game_turn'
4
+ require_relative 'treasure_trove'
5
+ require 'csv'
6
+
7
+ module StudioGame
8
+
9
+ class Game
10
+ attr_reader :title
11
+
12
+ def initialize(title)
13
+ @title = title
14
+ @players = []
15
+ end
16
+
17
+ def load_players(from_file)
18
+ CSV.foreach(from_file) do |row|
19
+ add_player(Player.new(row[0], Integer(row[1])))
20
+ end
21
+ end
22
+
23
+ def save_high_scores(to_file="high_scores.txt")
24
+ File.open(to_file, "w") do |file|
25
+ file.puts "#{@title} High Scores:"
26
+ @players.sort.each do |player|
27
+ file.puts high_score_entry(player)
28
+ end
29
+ end
30
+ end
31
+
32
+ def add_player(player)
33
+ @players << player
34
+ end
35
+
36
+ def high_score_entry(player)
37
+ "#{player.name.ljust(20, '.')} #{player.score}"
38
+ end
39
+
40
+ def play(rounds)
41
+ puts "There are #{@players.size} players in #{@title}:"
42
+ puts @players
43
+
44
+ treasures = TreasureTrove::TREASURES
45
+ puts "\nThere are #{treasures.size} treasures to be found:"
46
+
47
+ treasures.each do |treasure|
48
+ puts "A #{treasure.name} is worth #{treasure.points} points"
49
+ end
50
+
51
+ 1.upto(rounds) do |round|
52
+ if block_given?
53
+ break if yield
54
+ end
55
+ puts "\nRound #{round}:"
56
+ @players.each do |player|
57
+ GameTurn.take_turn(player)
58
+ puts player
59
+ end
60
+ end
61
+ end
62
+
63
+ def total_points
64
+ @players.reduce(0) { |sum, player| sum + player.points }
65
+ end
66
+
67
+ def print_stats
68
+ strong_players, wimpy_players = @players.partition { |p| p.strong? }
69
+
70
+ puts "\n#{@title} Statistics:"
71
+
72
+ puts "\n#{strong_players.size} strong players:"
73
+ strong_players.each do |player|
74
+ print_name_and_health(player)
75
+ end
76
+
77
+ puts "\n#{wimpy_players.size} wimpy players:"
78
+ wimpy_players.each do |player|
79
+ print_name_and_health(player)
80
+ end
81
+
82
+ puts "\n#{@title} High Scores:"
83
+ @players.sort.each do |player|
84
+ puts high_score_entry(player)
85
+ end
86
+
87
+ @players.each do |player|
88
+ puts "\n#{player.name}'s point totals:"
89
+ player.each_found_treasure do |treasure|
90
+ puts "#{treasure.points} total #{treasure.name} points"
91
+ end
92
+ puts "#{player.points} grand total points"
93
+ end
94
+
95
+ puts "\n#{total_points} total points from treasures found"
96
+
97
+ end
98
+
99
+ def print_name_and_health(player)
100
+ puts "#{player.name} (#{player.health})"
101
+ end
102
+
103
+ end
104
+
105
+ end
@@ -0,0 +1,23 @@
1
+ require_relative 'player'
2
+ require_relative 'die'
3
+
4
+ module StudioGame
5
+
6
+ module GameTurn
7
+
8
+ def self.take_turn(player)
9
+ case Die.new.roll
10
+ when 5..6
11
+ player.w00t
12
+ when 3..4
13
+ puts "#{player.name} was skipped"
14
+ else
15
+ player.blam
16
+ end
17
+
18
+ player.found_treasure(TreasureTrove.random)
19
+ end
20
+
21
+ end
22
+
23
+ end
@@ -0,0 +1,18 @@
1
+ require_relative "auditable"
2
+
3
+ module StudioGame
4
+
5
+ class LoadedDie
6
+ include Auditable
7
+
8
+ attr_reader :number
9
+
10
+ def roll
11
+ numbers = [1, 1, 2, 5, 6, 6]
12
+ @number = numbers.sample
13
+ audit
14
+ @number
15
+ end
16
+ end
17
+
18
+ end
@@ -0,0 +1,21 @@
1
+ module StudioGame
2
+
3
+ module Playable
4
+
5
+ def w00t
6
+ self.health += 15
7
+ puts "#{name} got w00ted!"
8
+ end
9
+
10
+ def blam
11
+ self.health -= 10
12
+ puts "#{name} got blammed!"
13
+ end
14
+
15
+ def strong?
16
+ health > 100
17
+ end
18
+
19
+ end
20
+
21
+ end
@@ -0,0 +1,50 @@
1
+ require_relative "playable"
2
+
3
+ module StudioGame
4
+
5
+ class Player
6
+ include Playable
7
+
8
+ attr_accessor :name, :health
9
+
10
+ def initialize(name, health=100)
11
+ @name = name.capitalize
12
+ @health = health
13
+ @found_treasures = Hash.new(0)
14
+ end
15
+
16
+ def self.from_csv(line)
17
+ name, health = line.split(',')
18
+ Player.new(name, Integer(health))
19
+ end
20
+
21
+ def found_treasure(treasure)
22
+ @found_treasures[treasure.name] += treasure.points
23
+ puts "#{@name} found a #{treasure.name} worth #{treasure.points} points."
24
+ puts "#{@name}'s treasures: #{@found_treasures}"
25
+ end
26
+
27
+ def each_found_treasure
28
+ @found_treasures.each do |name, points|
29
+ yield Treasure.new(name, points)
30
+ end
31
+ end
32
+
33
+ def points
34
+ @found_treasures.values.reduce(0, :+)
35
+ end
36
+
37
+ def score
38
+ @health + points
39
+ end
40
+
41
+ def <=>(other_player)
42
+ other_player.score <=> score
43
+ end
44
+
45
+ def to_s
46
+ "I'm #{@name} with health = #{@health}, points = #{points}, and score = #{score}"
47
+ end
48
+ end
49
+
50
+ end
@@ -0,0 +1,22 @@
1
+ module StudioGame
2
+
3
+ Treasure = Struct.new(:name, :points)
4
+
5
+ module TreasureTrove
6
+
7
+ TREASURES = [
8
+ Treasure.new(:pie, 5),
9
+ Treasure.new(:bottle, 25),
10
+ Treasure.new(:hammer, 50),
11
+ Treasure.new(:skillet, 100),
12
+ Treasure.new(:broomstick, 200),
13
+ Treasure.new(:crowbar, 400),
14
+ ]
15
+
16
+ def self.random
17
+ TREASURES.sample
18
+ end
19
+
20
+ end
21
+
22
+ end
@@ -0,0 +1,33 @@
1
+ require 'studio_game/berserk_player'
2
+
3
+ module StudioGame
4
+
5
+ describe BerserkPlayer do
6
+
7
+ before do
8
+ @initial_health = 50
9
+ @player = BerserkPlayer.new("berserker", @initial_health)
10
+ end
11
+
12
+ it "does not go berserk when w00ted up to 5 times" do
13
+ 1.upto(5) { @player.w00t }
14
+
15
+ @player.berserk?.should be_false
16
+ end
17
+
18
+ it "goes berserk when w00ted more than 5 times" do
19
+ 1.upto(6) { @player.w00t }
20
+
21
+ @player.berserk?.should be_true
22
+ end
23
+
24
+ it "gets w00ted instead of blammed when it's gone berserk" do
25
+ 1.upto(6) { @player.w00t }
26
+ 1.upto(2) { @player.blam }
27
+
28
+ @player.health.should == @initial_health + (8 * 15)
29
+ end
30
+
31
+ end
32
+
33
+ end
@@ -0,0 +1,53 @@
1
+ require 'studio_game/clumsy_player'
2
+
3
+ module StudioGame
4
+
5
+ describe ClumsyPlayer do
6
+ before do
7
+ @player = ClumsyPlayer.new("klutz")
8
+ end
9
+
10
+ it "only gets half the point value for each treasure" do
11
+ @player.points.should == 0
12
+
13
+ hammer = Treasure.new(:hammer, 50)
14
+ @player.found_treasure(hammer)
15
+ @player.found_treasure(hammer)
16
+ @player.found_treasure(hammer)
17
+
18
+ @player.points.should == 75
19
+
20
+ crowbar = Treasure.new(:crowbar, 400)
21
+ @player.found_treasure(crowbar)
22
+
23
+ @player.points.should == 275
24
+
25
+ yielded = []
26
+ @player.each_found_treasure do |treasure|
27
+ yielded << treasure
28
+ end
29
+
30
+ yielded.should == [Treasure.new(:hammer, 75), Treasure.new(:crowbar, 200)]
31
+ end
32
+
33
+ context "with a boost factor" do
34
+ before do
35
+ @initial_health = 100
36
+ @boost_factor = 5
37
+ @player = ClumsyPlayer.new("klutz", @initial_health, @boost_factor)
38
+ end
39
+
40
+ it "has a boost factor" do
41
+ @player.boost_factor.should == 5
42
+ end
43
+
44
+ it "gets boost factor number of w00ts when w00ted" do
45
+ @player.w00t
46
+
47
+ @player.health.should == @initial_health + (15 * @boost_factor)
48
+ end
49
+ end
50
+
51
+ end
52
+
53
+ end
@@ -0,0 +1,52 @@
1
+ require 'studio_game/game'
2
+
3
+ module StudioGame
4
+
5
+ describe Game do
6
+
7
+ before do
8
+ @game = Game.new("Knuckleheads")
9
+
10
+ @initial_health = 100
11
+ @player = Player.new("moe", @initial_health)
12
+
13
+ @game.add_player(@player)
14
+ end
15
+
16
+ it "w00ts the player if a high number is rolled" do
17
+ Die.any_instance.stub(:roll).and_return(5)
18
+ @game.play(2)
19
+ @player.health.should == @initial_health + (15 * 2)
20
+ end
21
+
22
+ it "skips the player if a medium number is rolled" do
23
+ Die.any_instance.stub(:roll).and_return(3)
24
+ @game.play(2)
25
+ @player.health.should == @initial_health
26
+ end
27
+
28
+ it "blams the player if a low number is rolled" do
29
+ Die.any_instance.stub(:roll).and_return(1)
30
+ @game.play(2)
31
+ @player.health.should == @initial_health - (10 * 2)
32
+ end
33
+
34
+ it "computes total points as the sum of all player points" do
35
+ game = Game.new("Knuckleheads")
36
+
37
+ player1 = Player.new("moe")
38
+ player2 = Player.new("larry")
39
+
40
+ game.add_player(player1)
41
+ game.add_player(player2)
42
+
43
+ player1.found_treasure(Treasure.new(:hammer, 50))
44
+ player1.found_treasure(Treasure.new(:hammer, 50))
45
+ player2.found_treasure(Treasure.new(:crowbar, 400))
46
+
47
+ game.total_points.should == 500
48
+ end
49
+
50
+ end
51
+
52
+ end
@@ -0,0 +1,130 @@
1
+ require 'studio_game/game'
2
+ require 'studio_game/player'
3
+ require 'studio_game/treasure_trove'
4
+
5
+ module StudioGame
6
+
7
+ describe Player do
8
+
9
+ before do
10
+ @initial_health = 150
11
+ @player = Player.new("larry", @initial_health)
12
+ end
13
+
14
+ it "has a capitalized name" do
15
+ @player.name.should == "Larry"
16
+ end
17
+
18
+ it "has an initial health" do
19
+ @player.health.should == @initial_health
20
+ end
21
+
22
+ it "has a string representation" do
23
+ @player.found_treasure(Treasure.new(:hammer, 50))
24
+ @player.found_treasure(Treasure.new(:hammer, 50))
25
+ @player.to_s.should == "I'm Larry with health = 150, points = 100, and score = 250"
26
+ end
27
+
28
+ it "computes a score as the sum of its health and points" do
29
+ @player.found_treasure(Treasure.new(:hammer, 50))
30
+ @player.found_treasure(Treasure.new(:hammer, 50))
31
+ @player.score.should == 250
32
+ end
33
+
34
+ it "increases health by 15 when w00ted" do
35
+ @player.w00t
36
+ @player.health.should == @initial_health + 15
37
+ end
38
+
39
+ it "decreases health by 10 when blammed" do
40
+ @player.blam
41
+ @player.health.should == @initial_health - 10
42
+ end
43
+
44
+ it "computes points as the sum of all treasure points" do
45
+ @player.points.should == 0
46
+
47
+ @player.found_treasure(Treasure.new(:hammer, 50))
48
+
49
+ @player.points.should == 50
50
+
51
+ @player.found_treasure(Treasure.new(:crowbar, 400))
52
+
53
+ @player.points.should == 450
54
+
55
+ @player.found_treasure(Treasure.new(:hammer, 50))
56
+
57
+ @player.points.should == 500
58
+ end
59
+
60
+ it "assigns a treasure for points during a player's turn" do
61
+ game = Game.new("Knuckleheads")
62
+ player = Player.new("moe")
63
+
64
+ game.add_player(player)
65
+
66
+ game.play(1)
67
+
68
+ player.points.should_not be_zero
69
+ end
70
+
71
+ it "yields each found treasure and its total points" do
72
+ @player.found_treasure(Treasure.new(:skillet, 100))
73
+ @player.found_treasure(Treasure.new(:skillet, 100))
74
+ @player.found_treasure(Treasure.new(:hammer, 50))
75
+ @player.found_treasure(Treasure.new(:bottle, 5))
76
+ @player.found_treasure(Treasure.new(:bottle, 5))
77
+ @player.found_treasure(Treasure.new(:bottle, 5))
78
+ @player.found_treasure(Treasure.new(:bottle, 5))
79
+ @player.found_treasure(Treasure.new(:bottle, 5))
80
+
81
+ yielded = []
82
+ @player.each_found_treasure do |treasure|
83
+ yielded << treasure
84
+ end
85
+
86
+ yielded.should == [
87
+ Treasure.new(:skillet, 200),
88
+ Treasure.new(:hammer, 50),
89
+ Treasure.new(:bottle, 25)
90
+ ]
91
+ end
92
+
93
+ context "has health greater than 100" do
94
+ before do
95
+ @player = Player.new("larry", 150)
96
+ end
97
+
98
+ it "is a strong player" do
99
+ @player.should be_strong
100
+ end
101
+ end
102
+
103
+ context "has health less than or equal to 100" do
104
+ before do
105
+ @player = Player.new("larry", 100)
106
+ end
107
+
108
+ it "is a wimpy player" do
109
+ @player.should_not be_strong
110
+ end
111
+ end
112
+
113
+ context "in a collection of players" do
114
+ before do
115
+ @player1 = Player.new("moe", 100)
116
+ @player2 = Player.new("larry", 200)
117
+ @player3 = Player.new("curly", 300)
118
+
119
+ @players = [@player1, @player2, @player3]
120
+ end
121
+
122
+ it "is sorted by decreasing score" do
123
+ @players.sort.should == [@player3, @player2, @player1]
124
+ end
125
+ end
126
+
127
+
128
+ end
129
+
130
+ end
@@ -0,0 +1,58 @@
1
+ require 'studio_game/treasure_trove'
2
+
3
+ module StudioGame
4
+
5
+ describe Treasure do
6
+
7
+ before do
8
+ @treasure = Treasure.new(:hammer, 50)
9
+ end
10
+
11
+ it "has a name attribute" do
12
+ @treasure.name.should == :hammer
13
+ end
14
+
15
+ it "has a points attribute" do
16
+ @treasure.points.should == 50
17
+ end
18
+
19
+ end
20
+
21
+ describe TreasureTrove do
22
+
23
+ it "has six treasures" do
24
+ TreasureTrove::TREASURES.size.should == 6
25
+ end
26
+
27
+ it "has a pie worth 5 points" do
28
+ TreasureTrove::TREASURES[0].should == Treasure.new(:pie, 5)
29
+ end
30
+
31
+ it "has a bottle worth 25 points" do
32
+ TreasureTrove::TREASURES[1].should == Treasure.new(:bottle, 25)
33
+ end
34
+
35
+ it "has a hammer worth 50 points" do
36
+ TreasureTrove::TREASURES[2].should == Treasure.new(:hammer, 50)
37
+ end
38
+
39
+ it "has a skillet worth 100 points" do
40
+ TreasureTrove::TREASURES[3].should == Treasure.new(:skillet, 100)
41
+ end
42
+
43
+ it "has a broomstick worth 200 points" do
44
+ TreasureTrove::TREASURES[4].should == Treasure.new(:broomstick, 200)
45
+ end
46
+
47
+ it "has a crowbar worth 400 points" do
48
+ TreasureTrove::TREASURES[5].should == Treasure.new(:crowbar, 400)
49
+ end
50
+
51
+ it "returns a random treasure" do
52
+ treasure = TreasureTrove.random
53
+ TreasureTrove::TREASURES.should include(treasure)
54
+ end
55
+
56
+ end
57
+
58
+ end
metadata ADDED
@@ -0,0 +1,90 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: studio_game_bmr
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.0
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - Bobby M Ray
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2012-06-25 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: rspec
16
+ requirement: !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
21
+ version: '0'
22
+ type: :development
23
+ prerelease: false
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ! '>='
28
+ - !ruby/object:Gem::Version
29
+ version: '0'
30
+ description: ! 'w00t and blam the Three Stooges.
31
+
32
+ Run the game and enter the number of rounds you want to play, or ''quit'' to exit.
33
+
34
+ '
35
+ email: bobbymray@gmail.com
36
+ executables:
37
+ - studio_game
38
+ extensions: []
39
+ extra_rdoc_files: []
40
+ files:
41
+ - bin/high_scores.txt
42
+ - bin/players.csv
43
+ - bin/studio_game
44
+ - lib/studio_game/auditable.rb
45
+ - lib/studio_game/berserk_player.rb
46
+ - lib/studio_game/clumsy_player.rb
47
+ - lib/studio_game/die.rb
48
+ - lib/studio_game/game.rb
49
+ - lib/studio_game/game_turn.rb
50
+ - lib/studio_game/loaded_die.rb
51
+ - lib/studio_game/playable.rb
52
+ - lib/studio_game/player.rb
53
+ - lib/studio_game/treasure_trove.rb
54
+ - spec/studio_game/berserk_player_spec.rb
55
+ - spec/studio_game/clumsy_player_spec.rb
56
+ - spec/studio_game/game_spec.rb
57
+ - spec/studio_game/player_spec.rb
58
+ - spec/studio_game/treasure_trove_spec.rb
59
+ - LICENSE
60
+ - README
61
+ homepage: http://www.bobbymray.com
62
+ licenses: []
63
+ post_install_message:
64
+ rdoc_options: []
65
+ require_paths:
66
+ - lib
67
+ required_ruby_version: !ruby/object:Gem::Requirement
68
+ none: false
69
+ requirements:
70
+ - - ! '>='
71
+ - !ruby/object:Gem::Version
72
+ version: '1.9'
73
+ required_rubygems_version: !ruby/object:Gem::Requirement
74
+ none: false
75
+ requirements:
76
+ - - ! '>='
77
+ - !ruby/object:Gem::Version
78
+ version: '0'
79
+ requirements: []
80
+ rubyforge_project:
81
+ rubygems_version: 1.8.24
82
+ signing_key:
83
+ specification_version: 3
84
+ summary: w00t and blam the Three Stooges
85
+ test_files:
86
+ - spec/studio_game/berserk_player_spec.rb
87
+ - spec/studio_game/clumsy_player_spec.rb
88
+ - spec/studio_game/game_spec.rb
89
+ - spec/studio_game/player_spec.rb
90
+ - spec/studio_game/treasure_trove_spec.rb