cbmeeks-gamefake 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,5 @@
1
+ 02.07.2009
2
+ =========
3
+
4
+ Started initial project. Created crude example based off Faker
5
+ Created a lot of games for the NES
@@ -0,0 +1,41 @@
1
+ = GameFake
2
+
3
+ Ruby/Rails gem for generating random video game names, systems, reviews, etc.
4
+
5
+ This gem was inspired from the mighty Faker gem. I am currently working on a
6
+ video game related project and needed game data to test with. So GameFake was born.
7
+
8
+ == Install
9
+
10
+ git clone git://github.com/cbmeeks/gamefake.git
11
+
12
+
13
+ == Usage
14
+
15
+ require 'rubygems'
16
+ require 'gamefake'
17
+
18
+ #: GameFake::NES.random_game
19
+ #: "Mega Man 6"
20
+
21
+
22
+ #: GameFake::NES.games
23
+ #: ["Rygar", "Gyruss", "Prince of Persia"]
24
+
25
+ #: GameFake::NES.games(20)
26
+ #: ["Rad Racer", "Rygar", "Kings of the Beach", "Spy vs. Spy", "Thexder", "Mega Man", "Double Dribble", "Solstice: The Quest for the Staff of Demnos", "Karnov", "Rainbow Islands", "Operation Europe: Path to Victory 1939-45", "Lethal Weapon", "Win, Lose, or Draw", "Castlevania 2", "Teenage Mutant Ninja Turtles", "Golf", "Stargate", "Lemmings", "Jordan vs. Bird: One-on-One", "Tiles of Fate"]
27
+
28
+
29
+ == Credits / About
30
+
31
+ Greatly inspired from the Faker gem. Well, maybe copied...lol.
32
+ I'm a Ruby newbie so I'm learning. I welcome all suggestions.
33
+ I also plan on adding many more systems (SNES, Genesis, Turbo Grafx-16, etc). I might even throw in some new games but I'm sort of a retro-hound.
34
+
35
+ Feel free to contact me at: cbmeeks [at] gmail [dot] kom (com, actually)
36
+
37
+ If you have any suggestions on the code and/or the game list, please let me know.
38
+
39
+ Enjoy!
40
+
41
+ cbmeeks
@@ -0,0 +1,14 @@
1
+ require 'rubygems'
2
+ require 'rake'
3
+ require 'echoe'
4
+
5
+ Echoe.new('gamefake', '0.1.2') do |p|
6
+ p.description = "Generate cool, fake video game names"
7
+ p.url = "http://github.com/cbmeeks/gamefake"
8
+ p.author = "Cecil Meeks"
9
+ p.email = "cbmeeks@gmail.com"
10
+ p.ignore_pattern = ["tmp/*", "script/*"]
11
+ p.development_dependencies = []
12
+ end
13
+
14
+ Dir["#{File.dirname(__FILE__)}/tasks/*.rake"].sort.each { |ext| load ext }
@@ -0,0 +1,32 @@
1
+ # -*- encoding: utf-8 -*-
2
+
3
+ Gem::Specification.new do |s|
4
+ s.name = %q{gamefake}
5
+ s.version = "0.1.2"
6
+
7
+ s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
8
+ s.authors = ["Cecil Meeks"]
9
+ s.date = %q{2009-02-07}
10
+ s.description = %q{Generate cool, fake video game names}
11
+ s.email = %q{cbmeeks@gmail.com}
12
+ s.extra_rdoc_files = ["README.rdoc", "CHANGELOG", "lib/games/nes_games.rb", "lib/games/sms_games.rb", "lib/gamefake.rb", "lib/gamefake/sms.rb", "lib/gamefake/nes.rb", "lib/gamefake/systems.rb", "lib/gamefake/reviews.rb", "lib/gamefake/other.rb", "lib/extensions/object.rb", "lib/extensions/array.rb", "lib/common.rb"]
13
+ s.files = ["Rakefile", "README.rdoc", "CHANGELOG", "lib/games/nes_games.rb", "lib/games/sms_games.rb", "lib/gamefake.rb", "lib/gamefake/sms.rb", "lib/gamefake/nes.rb", "lib/gamefake/systems.rb", "lib/gamefake/reviews.rb", "lib/gamefake/other.rb", "lib/extensions/object.rb", "lib/extensions/array.rb", "lib/common.rb", "init.rb", "Manifest", "test/test_nes.rb", "test/test_helper.rb", "test/test_sms.rb", "test/test_other.rb", "gamefake.gemspec"]
14
+ s.has_rdoc = true
15
+ s.homepage = %q{http://github.com/cbmeeks/gamefake}
16
+ s.rdoc_options = ["--line-numbers", "--inline-source", "--title", "Gamefake", "--main", "README.rdoc"]
17
+ s.require_paths = ["lib"]
18
+ s.rubyforge_project = %q{gamefake}
19
+ s.rubygems_version = %q{1.3.1}
20
+ s.summary = %q{Generate cool, fake video game names}
21
+ s.test_files = ["test/test_nes.rb", "test/test_helper.rb", "test/test_sms.rb", "test/test_other.rb"]
22
+
23
+ if s.respond_to? :specification_version then
24
+ current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
25
+ s.specification_version = 2
26
+
27
+ if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
28
+ else
29
+ end
30
+ else
31
+ end
32
+ end
data/init.rb ADDED
@@ -0,0 +1,2 @@
1
+ require 'gamefake'
2
+
@@ -0,0 +1,4 @@
1
+ class Common
2
+
3
+
4
+ end
@@ -0,0 +1,9 @@
1
+ class Array
2
+ def rand
3
+ self[Kernel.rand(length)]
4
+ end
5
+
6
+ def shuffle
7
+ self.sort_by{Kernel.rand}
8
+ end
9
+ end
@@ -0,0 +1,6 @@
1
+ class Object
2
+ def returning(value)
3
+ yield(value)
4
+ value
5
+ end
6
+ end
@@ -0,0 +1,14 @@
1
+ require 'rubygems'
2
+ require 'common'
3
+ require 'gamefake/nes'
4
+ require 'gamefake/sms'
5
+ require 'gamefake/reviews'
6
+ require 'gamefake/systems'
7
+
8
+ require 'extensions/array'
9
+ require 'extensions/object'
10
+
11
+ module GameFake
12
+
13
+
14
+ end
@@ -0,0 +1,25 @@
1
+ require 'games/nes_games'
2
+
3
+ module GameFake
4
+ class NES < Common
5
+ class << self
6
+
7
+ def games(num=3)
8
+ NES_Games.shuffle[0, num]
9
+ end
10
+
11
+ def random_game
12
+ NES_Games.rand
13
+ end
14
+
15
+ def first_game
16
+ NES_Games.first
17
+ end
18
+
19
+ def last_game
20
+ NES_Games.last
21
+ end
22
+
23
+ end
24
+ end
25
+ end
@@ -0,0 +1,24 @@
1
+
2
+ # Other Game Related Stuff
3
+
4
+ CPUs = [ "MOS 6502",
5
+ "Ricoh 2A03 8-bit processor",
6
+ "16-bit 65c816 Ricoh 5A22 3.58 MHz",
7
+ "93.75 MHz NEC VR4300",
8
+ "PowerPC Gekko, 485 MHz",
9
+ "IBM PowerPC-based[2] 'Broadway'",
10
+ "8-bit Zilog Z80",
11
+ "NEC 780C",
12
+ "Motorola 68000",
13
+ "2 x Hitachi SH-2 32-bit RISC (28.6 MHz)",
14
+ "200 MHz Hitachi SH4 RISC",
15
+ "MIPS R3000A at 33.8688 MHz",
16
+ "64-bit[3][4] 'Emotion Engine' clocked at 294.912 MHz",
17
+ "3.2 GHz Cell Broadband Engine with 1 PPE & 7 SPEs",
18
+ "Custom 733 MHz Intel Coppermine-based processor",
19
+ "3.2 GHz PowerPC Tri-Core Xenon",
20
+ "MOS 6507 @ 1.19 MHz",
21
+ "6502C @ 1.79 MHz",
22
+ "6502C",
23
+ "TI TMS9900 @ 3.0 MHz"
24
+ ]
@@ -0,0 +1,26 @@
1
+ module GameFake
2
+ # Based on Perl's Text::Lorem
3
+ class Reviews
4
+ class << self
5
+ Words = %w(alias consequatur aut perferendis sit voluptatem accusantium doloremque aperiam eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo aspernatur aut odit aut fugit sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt neque dolorem ipsum quia dolor sit amet consectetur adipisci velit sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem ut enim ad minima veniam quis nostrum exercitationem ullam corporis nemo enim ipsam voluptatem quia voluptas sit suscipit laboriosam nisi ut aliquid ex ea commodi consequatur quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae et iusto odio dignissimos ducimus qui blanditiis praesentium laudantium totam rem voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident sed ut perspiciatis unde omnis iste natus error similique sunt in culpa qui officia deserunt mollitia animi id est laborum et dolorum fuga et harum quidem rerum facilis est et expedita distinctio nam libero tempore cum soluta nobis est eligendi optio cumque nihil impedit quo porro quisquam est qui minus id quod maxime placeat facere possimus omnis voluptas assumenda est omnis dolor repellendus temporibus autem quibusdam et aut consequatur vel illum qui dolorem eum fugiat quo voluptas nulla pariatur at vero eos et accusamus officiis debitis aut rerum necessitatibus saepe eveniet ut et voluptates repudiandae sint et molestiae non recusandae itaque earum rerum hic tenetur a sapiente delectus ut aut reiciendis voluptatibus maiores doloribus asperiores repellat)
6
+
7
+ def words(num=10)
8
+ Words.shuffle[0,num]
9
+ end
10
+
11
+ def sentence(word_count = 4)
12
+ Words.shuffle[0,rand(8)+1].join(' ').capitalize + '.'
13
+ end
14
+
15
+ def sentences(sentence_count = 3)
16
+ returning([]) do |sentences|
17
+ 1.upto(sentence_count) do
18
+ sentences << sentence
19
+ end
20
+ end
21
+ end
22
+
23
+
24
+ end
25
+ end
26
+ end
@@ -0,0 +1,25 @@
1
+ require 'games/sms_games'
2
+
3
+ module GameFake
4
+ class SMS < Common
5
+ class << self
6
+
7
+ def games(num=3)
8
+ SMS_Games.shuffle[0, num]
9
+ end
10
+
11
+ def random_game
12
+ SMS_Games.rand
13
+ end
14
+
15
+ def first_game
16
+ SMS_Games.first
17
+ end
18
+
19
+ def last_game
20
+ SMS_Games.last
21
+ end
22
+
23
+ end
24
+ end
25
+ end
@@ -0,0 +1,25 @@
1
+ require 'gamefake/other'
2
+
3
+ module GameFake
4
+ class Systems
5
+ class << self
6
+
7
+ def cpus(num=3)
8
+ CPUs.shuffle[0, num]
9
+ end
10
+
11
+ def random_cpu
12
+ CPUs.rand
13
+ end
14
+
15
+ def first_cpu
16
+ CPUs.first
17
+ end
18
+
19
+ def last_cpu
20
+ CPUs.last
21
+ end
22
+
23
+ end
24
+ end
25
+ end
@@ -0,0 +1,230 @@
1
+
2
+ # Nintendo Entertainment System (NES)
3
+
4
+ NES_Games = [ "Metroid",
5
+ "The Legend of Zelda",
6
+ "Contra",
7
+ "Castlevania",
8
+ "Rygar",
9
+ "Super Mario Bros",
10
+ "Popeye",
11
+ "Super Mario Bros 2",
12
+ "Super Mario Bros 3",
13
+ "Castlevania 2",
14
+ "1942",
15
+ "A Nightmare on Elm Street",
16
+ "Action 52",
17
+ "The Addams Family",
18
+ "The Addams Family: Pugsley's Scavenger Hunt",
19
+ "Adventure Island",
20
+ "Adventure Island II: Aliens in Paradise",
21
+ "Adventure Island III",
22
+ "The Adventures of Captain Comic",
23
+ "Adventures of Lolo",
24
+ "Adventures of Lolo 2",
25
+ "Adventures of Lolo 3",
26
+ "The Adventures of Rocky and Bullwinkle",
27
+ "After Burner",
28
+ "After Burner II",
29
+ "Alien Syndrome",
30
+ "Alien�",
31
+ "Altered Beast",
32
+ "Archon: The Light and the Dark",
33
+ "Arkanoid",
34
+ "Arkanoid II: Revenge of Doh",
35
+ "Bad Dudes",
36
+ "Bad Street Brawler",
37
+ "Bandit Kings of Ancient China",
38
+ "The Bard's Tale II: The Destiny Knight",
39
+ "Baseball",
40
+ "Baseball Stars",
41
+ "Bases Loaded",
42
+ "Batman: Return of the Joker",
43
+ "Double Dribble",
44
+ "Double Strike",
45
+ "Dr. Mario",
46
+ "Dragon Warrior III",
47
+ "Dragon Wars",
48
+ "Dragons of Flame",
49
+ "Duck Hunt",
50
+ "D�j� Vu: A Nightmare Comes True",
51
+ "Elite",
52
+ "Excitebike",
53
+ "Exodus: Ultima III",
54
+ "F-15 Strike Eagle",
55
+ "Family Feud",
56
+ "The Fantastic Adventures of Dizzy",
57
+ "Faxanadu",
58
+ "Final Fantasy",
59
+ "Final Fantasy II",
60
+ "Final Fantasy III",
61
+ "Flight of the Intruder",
62
+ "Friday the 13th",
63
+ "Galaxian",
64
+ "Gauntlet",
65
+ "Gauntlet II",
66
+ "Gemfire",
67
+ "Genghis Khan",
68
+ "Ghostbusters",
69
+ "Ghosts N Goblins",
70
+ "Golf",
71
+ "The Goonies II",
72
+ "Gradius",
73
+ "The Guardian Legend",
74
+ "Guerrilla War",
75
+ "Gumshoe",
76
+ "Gyromite",
77
+ "Gyruss",
78
+ "Heroes of the Lance",
79
+ "High Speed",
80
+ "Hillsfar",
81
+ "Hogans Alley",
82
+ "Hook",
83
+ "Hoops",
84
+ "Ice Hockey",
85
+ "Ikari Warriors",
86
+ "Ikari Warriors II: Victory Road",
87
+ "The Immortal",
88
+ "Impossible Mission II",
89
+ "Indiana Jones and the Last Crusade: The Action ...",
90
+ "Indiana Jones and the Temple of Doom",
91
+ "Jack Nicklaus Greatest 18 Holes of Major Champ...",
92
+ "Joe & Mac: Caveman Ninja",
93
+ "John Elways Quarterback",
94
+ "Jordan vs. Bird: One-on-One",
95
+ "Journey to Silius",
96
+ "Joust",
97
+ "Karate Champ",
98
+ "Karateka",
99
+ "Karnov",
100
+ "Kid Dracula",
101
+ "Kings of the Beach",
102
+ "Klax",
103
+ "Krustys Fun House",
104
+ "Kung-Fu Master",
105
+ "Last Ninja 2: Back with a Vengeance",
106
+ "The Legend of Zelda",
107
+ "Lemmings",
108
+ "Lethal Weapon",
109
+ "Life Force",
110
+ "Little Nemo: The Dream Master",
111
+ "Lode Runner",
112
+ "Low G Man",
113
+ "The Magic Candle",
114
+ "Maniac Mansion",
115
+ "Marble Madness",
116
+ "Mario Bros.",
117
+ "Mario is Missing!",
118
+ "Mega Man",
119
+ "Mega Man 2",
120
+ "Mega Man 3",
121
+ "Mega Man 4",
122
+ "Mega Man 5",
123
+ "Mega Man 6",
124
+ "Metal Gear",
125
+ "Metroid",
126
+ "Micro Machines",
127
+ "Might and Magic: Book I",
128
+ "Monopoly",
129
+ "Ms. Pac-Man",
130
+ "The Mutant Virus",
131
+ "Ninja Gaiden",
132
+ "Ninja Gaiden II: The Dark Sword of Chaos",
133
+ "Ninja Gaiden III: The Ancient Ship of Doom",
134
+ "Nobunagas Ambition",
135
+ "Nobunagas Ambition II",
136
+ "North & South",
137
+ "Operation Europe: Path to Victory 1939-45",
138
+ "Operation Wolf",
139
+ "Othello",
140
+ "Overlord",
141
+ "P.O.W.: Prisoners of War",
142
+ "Pac-Man",
143
+ "Paperboy",
144
+ "Parasol Stars: The Story of Bubble Bobble III",
145
+ "Pipe Dream",
146
+ "Platoon",
147
+ "Pool of Radiance",
148
+ "Prince of Persia",
149
+ "QIX",
150
+ "Quattro Adventure",
151
+ "Quattro Sports",
152
+ "R.C. Pro-Am",
153
+ "Rad Racer",
154
+ "Rainbow Islands",
155
+ "Rampage",
156
+ "Rampart",
157
+ "River City Ransom",
158
+ "RoboCop",
159
+ "Rock n Ball",
160
+ "Rocket Ranger",
161
+ "Rollerball",
162
+ "Rolling Thunder",
163
+ "Rushn Attack",
164
+ "Shadowgate",
165
+ "Shinobi",
166
+ "Shockwave",
167
+ "Sid Meiers Pirates!",
168
+ "Silent Service",
169
+ "The Simpsons: Bart vs. the Space Mutants",
170
+ "The Simpsons: Bart vs. the World",
171
+ "The Simpsons: Bartman Meets Radioactive Man",
172
+ "Skate or Die",
173
+ "Ski or Die",
174
+ "Sky Shark",
175
+ "Snakes Revenge",
176
+ "Solar Jetman: Hunt for the Golden Warpship",
177
+ "Solstice: The Quest for the Staff of Demnos",
178
+ "Speedball",
179
+ "Spy Hunter",
180
+ "Spy vs. Spy",
181
+ "Star Soldier",
182
+ "Star Wars",
183
+ "Star Wars: The Empire Strikes Back",
184
+ "Stargate",
185
+ "StarTropics",
186
+ "Super C",
187
+ "Super Mario Bros.",
188
+ "Super Mario Bros. 2",
189
+ "Super Mario Bros. 3",
190
+ "Super Sprint",
191
+ "Tag Team Wrestling",
192
+ "Tales of the Unknown, Volume I: The Bards Tale",
193
+ "Target: Renegade",
194
+ "Tecmo Bowl",
195
+ "Teenage Mutant Ninja Turtles",
196
+ "Teenage Mutant Ninja Turtles II: The Arcade Game",
197
+ "Tennis",
198
+ "Tetris",
199
+ "Tetris 2",
200
+ "Thexder",
201
+ "The Three Stooges",
202
+ "Tiles of Fate",
203
+ "Times of Lore",
204
+ "Tiny Toon Adventures",
205
+ "Toobin",
206
+ "Tower Toppler",
207
+ "Treasure Island Dizzy",
208
+ "Ultima IV: Quest of the Avatar",
209
+ "Ultima V: Warriors of Destiny",
210
+ "Uncharted Waters",
211
+ "Uninvited",
212
+ "Valis: The Fantasm Soldier",
213
+ "Volleyball",
214
+ "Walt Disneys The Jungle Book",
215
+ "Where in Time is Carmen Sandiego?",
216
+ "Win, Lose, or Draw",
217
+ "Winter Games",
218
+ "Wizardry II: The Knight of Diamonds",
219
+ "Wizardry III: Legacy of Llylgamyn",
220
+ "Wizardry: Proving Grounds of the Mad Overlord",
221
+ "World Games",
222
+ "Wrath of the Black Manta",
223
+ "Wrecking Crew",
224
+ "Xenophobe",
225
+ "Yoshi",
226
+ "Yoshis Cookie",
227
+ "Ys",
228
+ "Zelda II: The Adventure of Link"
229
+ ]
230
+
@@ -0,0 +1,255 @@
1
+
2
+ # Sega Master System (SMS)
3
+
4
+ SMS_Games = [ "Ace of Aces",
5
+ "Action Fighter",
6
+ "The Addams Family",
7
+ "Aerial Assault",
8
+ "After Burner",
9
+ "Alex Kidd in Miracle World",
10
+ "Alex Kidd in Shinobi World",
11
+ "Alex Kidd: BMX Trial",
12
+ "Alex Kidd: High-Tech World",
13
+ "Alex Kidd: The Lost Stars",
14
+ "ALF",
15
+ "Alien Storm",
16
+ "Alien Syndrome",
17
+ "Alien�",
18
+ "Altered Beast",
19
+ "The Amazing Spider-Man vs. The Kingpin",
20
+ "Assault City",
21
+ "Astro Warrior",
22
+ "Astro Warrior / Pit Pot",
23
+ "Ast�rix",
24
+ "Ast�rix and the Great Rescue",
25
+ "Ayrton Senna's Super Monaco GP II",
26
+ "Aztec Adventure: The Golden Road to Paradise",
27
+ "Back to the Future Part II",
28
+ "Back to the Future Part III",
29
+ "Baku Baku Animal",
30
+ "Bank Panic",
31
+ "Batman Returns",
32
+ "Battle Out Run",
33
+ "Battletoads in Battlemaniacs",
34
+ "Black Belt",
35
+ "Blade Eagle 3-D",
36
+ "Bomber Raid",
37
+ "Bonanza Bros.",
38
+ "Bram Stoker's Dracula",
39
+ "Bubble Bobble",
40
+ "California Games",
41
+ "California Games II",
42
+ "Captain Silver",
43
+ "Chase H.Q.",
44
+ "Chase H.Q. II: Special Criminal Investigation",
45
+ "Cheese Cat-Astrophe starring Speedy Gonzales",
46
+ "Choplifter!",
47
+ "Chuck Rock",
48
+ "Chuck Rock II: Son of Chuck",
49
+ "Cloud Master",
50
+ "Columns",
51
+ "Cool Spot",
52
+ "Cosmic Spacehead",
53
+ "Cyber Shinobi: Shinobi Part 2",
54
+ "Cyborg Hunter",
55
+ "Danan the Jungle Fighter",
56
+ "Dead Angle",
57
+ "Deep Duck Trouble starring Donald Duck",
58
+ "Desert Speedtrap starring Road Runner and Wile ...",
59
+ "Desert Strike: Return to the Gulf",
60
+ "Dick Tracy",
61
+ "Disney's Aladdin",
62
+ "Disney's Ariel the Little Mermaid",
63
+ "Double Dragon",
64
+ "Double Hawk",
65
+ "Dr. Robotnik's Mean Bean Machine",
66
+ "Dragon Crystal",
67
+ "Dragon: The Bruce Lee Story",
68
+ "Dynamite Duke",
69
+ "Dynamite D�x",
70
+ "Dynamite Headdy",
71
+ "E-SWAT: Cyber Police",
72
+ "Earthworm Jim",
73
+ "Ecco the Dolphin",
74
+ "Ecco: The Tides of Time",
75
+ "Enduro Racer",
76
+ "F1",
77
+ "F16 Fighting Falcon",
78
+ "The Fantastic Adventures of Dizzy",
79
+ "Fantasy Zone",
80
+ "Fantasy Zone II: The Tears of Opa-Opa",
81
+ "Fantasy Zone: The Maze",
82
+ "FIFA International Soccer",
83
+ "Fire & Forget II",
84
+ "Fire & Ice",
85
+ "The Flintstones",
86
+ "Forgotten Worlds",
87
+ "G-Loc Air Battle",
88
+ "Gain Ground",
89
+ "Galactic Protector",
90
+ "Galaxy Force",
91
+ "Gangster Town",
92
+ "Gauntlet",
93
+ "Ghost House",
94
+ "Ghostbusters",
95
+ "Ghouls 'N Ghosts",
96
+ "Global Defense",
97
+ "Global Gladiators",
98
+ "Golden Axe",
99
+ "Golden Axe Warrior",
100
+ "Golvellius: Valley of Doom",
101
+ "Great Baseball",
102
+ "Great Basketball",
103
+ "Great Golf",
104
+ "Hang On & Safari Hunt",
105
+ "Hang-On",
106
+ "Heroes of the Lance",
107
+ "Hokuto no Ken",
108
+ "Impossible Mission",
109
+ "The Incredible Crash Dummies",
110
+ "Indiana Jones and the Last Crusade: The Action ...",
111
+ "Ivan 'Iron Man' Stewart's Super Off Road",
112
+ "James Bond 007: The Duel",
113
+ "James Pond 2: Codename: RoboCod",
114
+ "Kenseiden",
115
+ "King's Quest",
116
+ "Klax",
117
+ "Krusty's Fun House",
118
+ "Kung Fu Kid",
119
+ "Land of Illusion starring Mickey Mouse",
120
+ "Laser Ghost",
121
+ "Legend of Illusion starring Mickey Mouse",
122
+ "Lemmings",
123
+ "The Lion King",
124
+ "Lord of the Sword",
125
+ "The Lucky Dime Caper starring Donald Duck",
126
+ "Marble Madness",
127
+ "Master of Darkness",
128
+ "Maze Hunter 3-D",
129
+ "Mercs",
130
+ "Michael Jackson's Moonwalker",
131
+ "Micro Machines",
132
+ "Miracle Warriors: Seal of the Dark Lord",
133
+ "Missile Defense 3-D",
134
+ "Monopoly",
135
+ "Montezuma's Revenge",
136
+ "Mortal Kombat",
137
+ "Mortal Kombat 3",
138
+ "Mortal Kombat II",
139
+ "Ms. Pac-Man",
140
+ "My Hero",
141
+ "M�nica no Castelo do Drag�o",
142
+ "The New Zealand Story",
143
+ "Ninja Gaiden",
144
+ "The Ninja",
145
+ "Olympic Gold: Barcelona '92",
146
+ "Operation Wolf",
147
+ "OutRun",
148
+ "OutRun Europa",
149
+ "Pac-Mania",
150
+ "Paperboy",
151
+ "Parlour Games",
152
+ "Penguin Land",
153
+ "PGA Tour Golf",
154
+ "Phantasy Star",
155
+ "Pit Pot: The Magical Castle",
156
+ "Pit-Fighter",
157
+ "Populous",
158
+ "Poseidon Wars 3-D",
159
+ "Power Strike",
160
+ "Power Strike II",
161
+ "Predator 2",
162
+ "Prince of Persia",
163
+ "Psychic World",
164
+ "Psycho Fox",
165
+ "Putt & Putter",
166
+ "Quartet",
167
+ "R-Type",
168
+ "R.C. Grand Prix",
169
+ "Rainbow Islands",
170
+ "Rambo: First Blood Part II",
171
+ "Rampage",
172
+ "Rampart",
173
+ "Rastan",
174
+ "Renegade",
175
+ "Rescue Mission",
176
+ "Rise of the Robots",
177
+ "Road Rash",
178
+ "RoboCop 3",
179
+ "RoboCop Versus the Terminator",
180
+ "Rygar",
181
+ "Safari Hunt",
182
+ "Sagaia",
183
+ "Scramble Spirits",
184
+ "SDI: Strategic Defense Initiative",
185
+ "Secret Commando",
186
+ "Sensible Soccer: European Champions: 92/93 Edition",
187
+ "Shadow Dancer",
188
+ "Shadow of the Beast",
189
+ "Shanghai",
190
+ "Shinobi",
191
+ "Shooting Gallery",
192
+ "The Simpsons: Bart vs. the Space Mutants",
193
+ "The Simpsons: Bart vs. the World",
194
+ "Smash T.V.",
195
+ "The Smurfs",
196
+ "Solomon's Key",
197
+ "Sonic Blast",
198
+ "Sonic the Hedgehog 2",
199
+ "Sonic the Hedgehog Chaos",
200
+ "Sonic the Hedgehog: Spinball",
201
+ "Space Gun",
202
+ "Space Harrier",
203
+ "Space Harrier 3-D",
204
+ "Speedball",
205
+ "Speedball 2: Brutal Deluxe",
206
+ "SpellCaster",
207
+ "Spider-Man: Return of the Sinister Six",
208
+ "Spy vs. Spy",
209
+ "Star Wars",
210
+ "Street Fighter II': Special Champion Edition",
211
+ "Streets of Rage",
212
+ "Streets of Rage 2",
213
+ "Strider",
214
+ "Strider 2",
215
+ "Summer Games",
216
+ "Super Kick Off",
217
+ "Super Monaco GP",
218
+ "T2: The Arcade Game",
219
+ "Taito's Super Space Invaders",
220
+ "Taz in Escape from Mars",
221
+ "Taz-Mania",
222
+ "Teddy Boy",
223
+ "Tennis Ace",
224
+ "Terminator 2: Judgment Day",
225
+ "The Terminator",
226
+ "ThunderBlade",
227
+ "Time Soldiers",
228
+ "TransBot",
229
+ "Turma da M�nica em: O Resgate",
230
+ "Ultima IV: Quest of the Avatar",
231
+ "Ultimate Soccer",
232
+ "Vigilante",
233
+ "Wanted",
234
+ "Where in the World is Carmen Sandiego?",
235
+ "Wimbledon Championship Tennis",
236
+ "Winter Olympics: Lillehammer '94",
237
+ "Wolfchild",
238
+ "Wonder Boy",
239
+ "Wonder Boy III: The Dragon's Trap",
240
+ "Wonder Boy in Monster Land",
241
+ "Wonder Boy in Monster World",
242
+ "World Championship Soccer",
243
+ "World Class Leader Board",
244
+ "World Cup USA '94",
245
+ "World Games",
246
+ "World Grand Prix",
247
+ "Xenon 2: Megablast",
248
+ "Xevious",
249
+ "Ys",
250
+ "Zaxxon 3-D",
251
+ "Zillion",
252
+ "Zillion 2: Tri Formation",
253
+ "Zool"
254
+ ]
255
+
@@ -0,0 +1,2 @@
1
+ require 'test/unit'
2
+ require File.dirname(__FILE__) + '/../lib/gamefake'
@@ -0,0 +1,33 @@
1
+ require File.dirname(__FILE__) + '/test_helper.rb'
2
+
3
+ class TestGameFake < Test::Unit::TestCase
4
+
5
+ def setup
6
+ @game = GameFake::NES
7
+ end
8
+
9
+ def test_first_game
10
+ puts "--------------------------------------------------------------------------------------------------------"
11
+ puts "Testing First Game"
12
+ assert @game.first_game
13
+ end
14
+
15
+ def test_last_game
16
+ puts "--------------------------------------------------------------------------------------------------------"
17
+ puts "Testing Last Game"
18
+ assert @game.last_game
19
+ end
20
+
21
+ def test_list_all_games
22
+ puts "--------------------------------------------------------------------------------------------------------"
23
+ puts "Testing All Games"
24
+ assert @game.games(100)
25
+ end
26
+
27
+ def test_random_game
28
+ puts "--------------------------------------------------------------------------------------------------------"
29
+ puts "Testing Random Game"
30
+ assert @game.random_game
31
+ end
32
+
33
+ end
@@ -0,0 +1,33 @@
1
+ require File.dirname(__FILE__) + '/test_helper.rb'
2
+
3
+ class TestGameFake < Test::Unit::TestCase
4
+
5
+ def setup
6
+ @system = GameFake::Systems
7
+ end
8
+
9
+ def test_first_cpu
10
+ puts "--------------------------------------------------------------------------------------------------------"
11
+ puts "Testing First CPU"
12
+ assert @system.first_cpu
13
+ end
14
+
15
+ def test_last_cpu
16
+ puts "--------------------------------------------------------------------------------------------------------"
17
+ puts "Testing Last CPU"
18
+ assert @system.last_cpu
19
+ end
20
+
21
+ def test_list_all_cpus
22
+ puts "--------------------------------------------------------------------------------------------------------"
23
+ puts "Testing All CPUs"
24
+ assert @system.cpus(100)
25
+ end
26
+
27
+ def test_random_cpu
28
+ puts "--------------------------------------------------------------------------------------------------------"
29
+ puts "Testing Random CPU"
30
+ assert @system.random_cpu
31
+ end
32
+
33
+ end
@@ -0,0 +1,33 @@
1
+ require File.dirname(__FILE__) + '/test_helper.rb'
2
+
3
+ class TestGameFake < Test::Unit::TestCase
4
+
5
+ def setup
6
+ @game = GameFake::SMS
7
+ end
8
+
9
+ def test_first_game
10
+ puts "--------------------------------------------------------------------------------------------------------"
11
+ puts "Testing First Game"
12
+ assert @game.first_game
13
+ end
14
+
15
+ def test_last_game
16
+ puts "--------------------------------------------------------------------------------------------------------"
17
+ puts "Testing Last Game"
18
+ assert @game.last_game
19
+ end
20
+
21
+ def test_list_all_games
22
+ puts "--------------------------------------------------------------------------------------------------------"
23
+ puts "Testing All Games"
24
+ assert @game.games(100)
25
+ end
26
+
27
+ def test_random_game
28
+ puts "--------------------------------------------------------------------------------------------------------"
29
+ puts "Testing Random Game"
30
+ assert @game.random_game
31
+ end
32
+
33
+ end
metadata ADDED
@@ -0,0 +1,93 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: cbmeeks-gamefake
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.2
5
+ platform: ruby
6
+ authors:
7
+ - Cecil Meeks
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+
12
+ date: 2009-02-07 00:00:00 -08:00
13
+ default_executable:
14
+ dependencies: []
15
+
16
+ description: Generate cool, fake video game names
17
+ email: cbmeeks@gmail.com
18
+ executables: []
19
+
20
+ extensions: []
21
+
22
+ extra_rdoc_files:
23
+ - README.rdoc
24
+ - CHANGELOG
25
+ - lib/games/nes_games.rb
26
+ - lib/games/sms_games.rb
27
+ - lib/gamefake.rb
28
+ - lib/gamefake/sms.rb
29
+ - lib/gamefake/nes.rb
30
+ - lib/gamefake/systems.rb
31
+ - lib/gamefake/reviews.rb
32
+ - lib/gamefake/other.rb
33
+ - lib/extensions/object.rb
34
+ - lib/extensions/array.rb
35
+ - lib/common.rb
36
+ files:
37
+ - Rakefile
38
+ - README.rdoc
39
+ - CHANGELOG
40
+ - lib/games/nes_games.rb
41
+ - lib/games/sms_games.rb
42
+ - lib/gamefake.rb
43
+ - lib/gamefake/sms.rb
44
+ - lib/gamefake/nes.rb
45
+ - lib/gamefake/systems.rb
46
+ - lib/gamefake/reviews.rb
47
+ - lib/gamefake/other.rb
48
+ - lib/extensions/object.rb
49
+ - lib/extensions/array.rb
50
+ - lib/common.rb
51
+ - init.rb
52
+ - Manifest
53
+ - test/test_nes.rb
54
+ - test/test_helper.rb
55
+ - test/test_sms.rb
56
+ - test/test_other.rb
57
+ - gamefake.gemspec
58
+ has_rdoc: true
59
+ homepage: http://github.com/cbmeeks/gamefake
60
+ post_install_message:
61
+ rdoc_options:
62
+ - --line-numbers
63
+ - --inline-source
64
+ - --title
65
+ - Gamefake
66
+ - --main
67
+ - README.rdoc
68
+ require_paths:
69
+ - lib
70
+ required_ruby_version: !ruby/object:Gem::Requirement
71
+ requirements:
72
+ - - ">="
73
+ - !ruby/object:Gem::Version
74
+ version: "0"
75
+ version:
76
+ required_rubygems_version: !ruby/object:Gem::Requirement
77
+ requirements:
78
+ - - ">="
79
+ - !ruby/object:Gem::Version
80
+ version: "1.2"
81
+ version:
82
+ requirements: []
83
+
84
+ rubyforge_project: gamefake
85
+ rubygems_version: 1.2.0
86
+ signing_key:
87
+ specification_version: 2
88
+ summary: Generate cool, fake video game names
89
+ test_files:
90
+ - test/test_nes.rb
91
+ - test/test_helper.rb
92
+ - test/test_sms.rb
93
+ - test/test_other.rb