Created
August 3, 2016 19:48
-
-
Save anonymous/53111ff1b0397042675d42e1981abbfa to your computer and use it in GitHub Desktop.
Run it via: perl generate_list.pl < scores.txt | cat -n
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!perl | |
# | |
# | |
use List::Util qw(sum); | |
sub score_for { | |
my $placement = shift; | |
if($placement) { | |
return 21 - $placement; | |
} | |
else { | |
return int( sum(1..21) / 20 ); | |
} | |
} | |
sub normalize { | |
my $title = shift; | |
$title =~ s/^- //g; | |
$title =~ s/'0/200/; | |
$title =~ s/[^a-zA-Z0-9 -]//g; | |
$title =~ s/\s+$//g; | |
$title =~ s/aerofighters/aero fighters/i; | |
$title =~ s/^fatal fury real bout/real bout fatal fury/i; | |
$title =~ s/^real bout (\d)$/real bout fatal fury \1/i; | |
$title =~ s/^real bout special/real bout fatal fury special/i; | |
$title =~ s/^king of fighters/the king of fighters/i; | |
$title =~ s/kof\s{0,1}(d{0,2})/The King of Fighters \1/i; | |
$title =~ s/^(garou(:|)|)\s{0,1}(motw|mark of the wol(f|ve)s)/garou: mark of the wolves/i; | |
$title =~ s/rbs/real bout fatal fury special/i; | |
$title =~ s/kotm/king of the monsters/i; | |
$title =~ s/nam (19|)75/nam-1975/i; | |
$title =~ s/^sam(urai|)( |)(sho(wdo(w|)n|)|spirits)(\s|$)/Samurai Shodown\6/i; | |
$title =~ s/(zero|5|v)( |)special/5 special/i; | |
$title =~ s/whp/world heroes perfect/i; | |
$title =~ s/^.*svc chaos.*$/Capcom vs. SNK SVC Chaos/i; | |
$title =~ s/^slug/Metal Slug/i; | |
$title =~ s/^puzzle b[ou]bble/bust-a-move/i; | |
$title =~ s/drift out/driftout/i; | |
$title =~ s/cyber lip/cyber-lip/i; | |
$title =~ s/neo-bomberman/neo bomberman/i; | |
$title =~ s/ VI$/ 6/i; | |
$title =~ s/ V$/ 5/i; | |
$title =~ s/ IV$/ 4/i; | |
$title =~ s/ III$/ 3/i; | |
$title =~ s/ II$/ 2/i; | |
$title =~ s/ I$/ 1/i; | |
$title =~ s/ 0(\d)$/ 200\1/; | |
$title =~ s/ 1$//; | |
$title = lc($title); | |
return $title; | |
} | |
my %scores = {}; | |
while(<STDIN>) { | |
chomp; | |
next if /^#/; | |
my ($placement, $garbage, $almost_garbage) = /^(\d{0,2})([\.:)]\s|)(.*)$/; | |
my $score = score_for($placement); | |
my $title = normalize($almost_garbage); | |
$scores{$title} = $scores{$title} + $score if $score > 1; | |
} | |
foreach my $key (sort { $scores{$b} <=> $scores{$a} or $a cmp $b } keys %scores) { | |
printf "|%-30s|%3d|\n", $key, $scores{$key}; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ResO | |
1. King of Fighters 2003 | |
2. MOTW | |
3. Samurai Shodown V/Special | |
4. Pulstar | |
5. Stakes Winner 1 | |
6. Stakes Winner 2 | |
7. Quest of Jongmaster | |
8. SVC Chaos (hit detection fixed boot) | |
9. Bust-A-Move 1 | |
10. Bust-A-Move 2 | |
11. Money Puzzle Exchanger | |
12. Twinkle Star Sprites | |
13. Neo-Geo Cup '98 | |
14. Breakers Revenge | |
15. Metal Slug 3 | |
16. Neo-Bomberman | |
17. Ganryu | |
18. Blazing Star | |
19. Pochi to Nyaa~ | |
20. Prehistoric Isle 2 | |
21. King of Fighters 99 | |
22. Kizuna Encounter | |
# lolifoxgirl | |
1: money puzzle exchanger | |
2: magical drop 3 | |
3: ninja masters | |
4: breakers revenge | |
5: shock troopers | |
6: blazing star | |
7: kof98 | |
8: whp | |
9: twinkle star sprites | |
10: samsho 4 | |
# Tyrandom | |
1) Metal Slug | |
2) Pulstar | |
3) Garou MotW | |
4) Kof'98 | |
5) Blazing Star | |
6) Real Bout Special | |
7) Last Blade 2 | |
8) Metal Slug X | |
9) Magical Drop 3 | |
10) Neo Turf Masters | |
11) Kof'96 | |
12) Kof'99 | |
13) Samurai Spirits IV | |
14) Shock Troopers | |
15) Metal Slug 3 | |
16) Puzzle Bubble | |
17) Last Resort | |
18) Soccer Brawl | |
19) Nightmare in the Dark | |
20) Sengoku 3 | |
# Cory | |
1. Real Bout Fatal Fury 2 | |
# MCF 76 | |
1. Slug 3 | |
2. slug 2 | |
3. Blazing Star | |
4. Slug 1 | |
5. slug 5 | |
6. Last Resort | |
7. Magician Lord | |
8. Nam 75 | |
9. Mutation Nation | |
10. Ninja Commando | |
11. Shock Troopers | |
12. Sonic Wings 2 | |
13. Sengoku 3 | |
14. sengoku 2 | |
15. Sonic Wings 3 | |
16. Andro Dunos | |
17. Cyber Lip | |
18. KOTM 2 | |
19. Robo Army | |
20. Burning Fight | |
# MattBlah | |
1. Metal Slug | |
2. Real Bout Special | |
3. Magician Lord | |
4. King of Fighters '99 | |
5. Metal Slug 2 | |
6. Metal Slug X | |
7. Shock Troopers | |
8. Cyber Lip | |
9. Sengoku 2 | |
10. Samurai Spirits 2 | |
11. Blazing Star | |
12. Fatal Fury Special | |
13. Last Resort | |
14. League Bowling | |
15. Double Dragon | |
16. Pop n Bounce | |
17. Zupapa! | |
18. Aero Fighters 2 | |
19. King of Fighters 96 | |
20. Puzzle Bobble | |
21. Sengoku | |
# johnnyD14 | |
1- Neo Turf Masters | |
2- KOF '96 | |
3- Metal Slug | |
4- RBS | |
5- Blazing Star | |
6- Ninja Commando | |
7- Samurai Shodown 2 | |
8- World Heroes Perfect | |
9- Metal Slug 5 | |
10- Shock Troopers | |
11- The Last Blade | |
12- Sengoku 3 | |
13- Magician Lord | |
14- Mark of the Wolves | |
15- Baseball Stars 2 | |
16- KOF 2000 | |
17- Metal Slug 2 | |
18- Magical Drop 3 | |
19- Puzzle Bobble | |
20- Twinkle Star Sprites | |
# bogard | |
1.real bout fatal fury | |
2 real bout fatal fury 2 | |
3.kof 97 | |
4.kof 02 | |
5.fatal fury special | |
6.mark of the wolves | |
7.kof 96 | |
8.kof 98 | |
9.kof 95 | |
10.kof 03 | |
11.samurai showdown v special | |
12.samurai showdown 2 | |
13.metal slug 2 | |
14.metal slug 3 | |
15.shock troopers | |
16.art of fighting 2 | |
17.sonic wings 3 | |
18.sengoku 3 | |
19.last blade 2 | |
20.kof 00 | |
# AJtheMishima | |
Breakers Revenge | |
MOTW | |
Samurai Shodown 4 | |
Karnovs Revenge | |
Fatal Fury Special | |
Fatal Fury Real Bout Special | |
SVC Chaos | |
Fatal Fury Real Bout 2 | |
Money Puzzle Exchanger | |
Twinkle Star Sprites | |
King of Fighters 98 | |
King of Fighters 00 | |
King of Fighters 02 | |
Neo-Bomberman | |
Ganryu | |
League Bowling | |
WindJammers | |
Zed Blade | |
Neo Drift Out | |
Kizuna Encounter | |
# aha2940 | |
metal slug 1 | |
metal slug 2 | |
metal slug X | |
metal slug 3 | |
metal slug 4 | |
metal slug 5 | |
Blazing Star | |
Garou: Mark of the Wolves | |
Ganryu | |
aerofighters | |
shock troopers | |
Viewpoint | |
kof 94 | |
kof 95 | |
sengoku 3 | |
nam-1975 | |
magician lord | |
strikers 1945 | |
# Liquid Snake | |
1. Metal Slug 2 "Turbo" | |
2. Metal Slug 4 | |
3. Pulstar | |
4. Blazing Star | |
5. Nam-1975 | |
6. Ninja Combat | |
7. Prehistoric Isle 2 | |
8. Brinkinger Ironclad | |
9. Burning Fight | |
10. KOF98 | |
11. Samurai Shodown 2 | |
12. Shock Troopers | |
13. Shock Troopers 2nd Squad | |
14. Last Resort | |
15. Crossed Swords | |
16. Fatal Fury Special | |
17. Magician Lord | |
18. Real bout Fatal Fury 2 | |
19. Neo Tournament Golf | |
20. Overtop | |
# vallian | |
1. Pulstar | |
2. Waku Waku 7 | |
3. Metal Slug 1 | |
4. The Last Blade 2 | |
5. Galaxy Fight | |
6. SVC Chaos | |
7. Metal Slug X | |
8. Metal Slug 2 | |
9. Sonic Wings 3 | |
10. Garou Mark of the Wolfs | |
11. Magician Lord | |
12. Fatal Fury Real Bout 2 | |
13. Fatal Fury Real Bout 1 | |
14. King of Fighters 01 | |
15. Puzzle Bobble | |
16. Puzzle de Pon, R! | |
17. Shock Troopers 2nd Squad | |
18. Prehistoric Isle 2 | |
19. Art of Fighting 3 | |
20. King of Fighters 00 | |
21. Fatal Fury Special | |
# dspoonrt | |
1. Mark of the Wolves | |
2. Neo Turf Masters | |
3. Strikers 1945 Plus | |
4. Metal Slug | |
5. Breakers Revenge | |
6. Spinmaster | |
7. Money Puzzle Exchanger | |
8. Blazing Star | |
9. King of Fighters 98 | |
10. Windjammers | |
11. Real Bout Special | |
12. Viewpoint | |
13. Waku Waku 7 | |
14. Bust-A-Move Again | |
15. Shock Troopers | |
16. Neo Drift Out | |
17. NAM 1975 | |
18. Super Sidekicks 3 | |
19. Sengoku 3 | |
20. Kizuna Encounter | |
# Gamefan | |
1. King of Fighters '99 | |
2. Last Resort | |
3. Metal Slug 2 | |
4. Samurai Showdown II | |
5. Fatal Fury Special | |
6. Real Bout Fatal Fury 2 | |
7. Last Blade 2 | |
8. Strikers 1945 Plus | |
9. Rage of the Dragons | |
10. Magical Drop 3 | |
11. Andro Dunos | |
12. Art of Fighting 3 | |
13. Samurai Showdown IV | |
14. Cyber-Lip | |
15. Fatal Fury 2 | |
16. Kabuki Klash | |
17. King of Fighters 2002 | |
18. King of Fighters '98 | |
19. Blazing Star | |
20. Pulstar | |
# ShootTheCore | |
1) Blazing Star | |
2) Pulstar | |
3) Viewpoint | |
4) Shock Troopers | |
5) Ninja Commando | |
6) Spinmaster | |
7) Money Puzzle Exchanger | |
8) Sengoku 2 | |
9) Metal Slug 2 Turbo | |
10) Metal Slug 3 | |
11) Metal Slug 1 | |
12) Neo Turf Masters | |
13) Fast Striker | |
14) Neo XYX | |
15) Knight's Chance | |
16) Magician Lord | |
17) Neo Driftout | |
18) Last Resort | |
19) Andro Dunos | |
20) Windjammers | |
# pepelegit | |
Aero Fighters 2 | |
Baseball Stars 2 | |
Blazing Star | |
Bust-a-Move | |
Garou: Mark of the Wolves | |
King of Fighters 98 | |
Last Blade | |
Last Blade 2 | |
League Bowling | |
Metal Slug | |
Metal Slug X | |
Neo Turf Masters | |
Panic Bomber | |
Samurai Shodown II | |
Samurai Shodown IV | |
Shock Troopers | |
Strikers 1945 Plus | |
Super Dodge Ball | |
Thrash Rally | |
Windjammers | |
# Tanooki | |
- 8Man | |
Aerofighters 2 | |
Aerofighters 3 | |
Baseball Stars | |
Blazing Star | |
Bust-A-Move | |
Cyber Lip | |
King of Fighters 98 | |
League Bowling | |
Magician Lord | |
Metal Slug | |
Mutation Nation | |
NAM-1975 | |
Neo Turf Masters | |
Ninja Combat | |
Panic Bomber | |
Samurai Shodown 3 | |
SpinMaster | |
Super Dodge ball | |
World Heroes | |
# Tw3ek | |
Samurai Spirits Zero Special | |
Big Tournament Golf | |
Real Bout Special | |
Blazing Star | |
Garou: Mark of the Wolves | |
Metal Slug 2 | |
Baseball Stars 2 | |
Sonic Wings 3 | |
World Heroes Perfect | |
Nam 1975 | |
King of Fighters 98 | |
Breakers Revenge | |
Last Blade | |
Metal Slug 3 | |
King of Fighters 2002 | |
Neo Bomberman | |
Flying Power Disc | |
SVC Chaos | |
Samurai Spirits IV | |
King of Fighters 2003 | |
# Slugger | |
Metal Slug | |
Neo Turf Masters | |
Pulstar | |
Blazing Star | |
Magician Lord | |
Baseball Stars 2 | |
King of Fighters 96 | |
Shock Troopers | |
Last Blade 2 | |
Ninja Masters | |
Waku Waku 7 | |
Neo Drift Out | |
Samurai Shodown 3 | |
Viewpoint | |
Windjammers | |
Sengoku 2 | |
Real Bout 2 | |
Magical Drop 3 | |
Nightmare in the Dark | |
Last Resort | |
# city41 | |
1. Metal Slug | |
2. Real Bout Special | |
3. Magical Drop 3 | |
4. King of Fighters 95 | |
5. Twinkle Star Sprites | |
6. Samurai Shodown 2 | |
7. Puzzle Bobble | |
8. Pulstar | |
9. Shock Troopers | |
10. Baseball Stars 2 | |
# pegboy | |
Metal Slug 1 | |
Metal Slug 2 | |
Metal Slug X | |
Metal Slug 3 | |
Metal Slug 4 | |
Metal Slug 5 | |
Strikers 1945 Plus | |
Viewpoint | |
Prehistoric Isle 2 | |
Aero Fighters 2 | |
Aero Fighters 3 | |
Nam 1975 | |
Magician Lord | |
Last Resort | |
Pulstar | |
Blazing Star | |
Cyber Lip | |
Burning Fight | |
Ninja Combat | |
Ninja Commando | |
# itsofrustratin | |
Metal slug 3 | |
neo turf masters | |
real bout fatal fury special | |
fatal fury special | |
sam sho 2 | |
Waku Waku 7 | |
Windjammers | |
Last blade | |
Baseball stars 2 | |
King of fighters 99 | |
Kizuna encounter | |
Shock troopers | |
Prehistoric Isle 2 | |
2020 Baseball | |
Twinkle Star Sprites | |
Blazing Star | |
Kabuki Klash | |
matrimelee | |
puzzle bobble | |
SVC chaos | |
# heihachi | |
SamSho II | |
SamSho IV | |
Metal Slug | |
Metal Slug X | |
Metal Slug 3 | |
Neo Turf Masters | |
Magical Drop III | |
Baseball Stars 2 | |
League Bowling | |
Shock Troopers | |
Windjammers | |
The Last Blade | |
The Last Blade 2 | |
KOF 95 | |
KOF 96 | |
KOF 97 | |
KOF 98 | |
KOF 99 | |
KOF 2000 | |
# Bill Kilgore | |
1. Metal Slug 3 | |
2. Shock Troopers | |
3. Metal Slug X | |
4. Blazing Star | |
5. Garou: Mark of the wolves | |
6. Last Blade 2 | |
7. Metal Slug | |
8. Sengoku 3 | |
9. Strikers 1945 Plus | |
10. Samurai Shodown 2 | |
11. Mutation Nation | |
12. Last Blade | |
13. Nam-1975 | |
14. Magician Lord | |
15. King of Fighters 97 | |
16. Neo Drift Out | |
17. Puzzle Bobble | |
18. King of Fighters 95 | |
19. Twinkle Star Sprites | |
20. Blue's Journey | |
# neojedi | |
Samurai Shodown 4 | |
The Last Blade 2 | |
The Last Blade | |
Garou: Mark of the Wolves | |
Samurai Shodown 3 | |
Samurai Shodown 2 | |
The King of Fighters 2002 | |
The King of Fighters '96 | |
Magical Drop III | |
SVC Chaos | |
The King of Fighters '95 | |
Samurai Shodown 5 Special | |
Samurai Shodown 5 | |
The King of Fighters '99 | |
The King of Fighters 2000 | |
Real Bout 2 | |
World Heroes | |
Pulstar | |
Blazing Star | |
Fatal Fury Special | |
# Mr. Bakaboy | |
1. KOF '98 | |
2. Samurai Shodown 2 | |
3. Metal Slug | |
4. Real Bout Fatal Fury 2 | |
5. Real Bout Fatal Fury Special | |
6. Fatal Fury Special | |
7. MOTW | |
8. Baseball Stars 2 | |
9. SVC Chaos SNK vs Capcom | |
10. Magical Drop 3 | |
11. Last Blade 2 | |
12. Samurai Shodown | |
13. League Bowling | |
14. KOF '96 | |
15. Puzzle Bobble | |
16. Samurai Shodown V | |
17. World Heroes | |
18. Art of Fighting 2 | |
19. Savage Reign | |
20. Waku Waku 7 | |
# SNK_Pro | |
1- Mark of the wolves | |
2- Metal slug | |
3- Metal slug X | |
4- Metal slug 3 | |
5- Art of fighting 3 | |
6- Last resort | |
7- Viewpoint | |
8- NAM-1975 | |
9- Last blade 2 | |
10- Burning fight | |
11- Sengoku 2 | |
12- Shock troopers | |
13- Real bout 2 | |
14- Rage of the dragons | |
15- KOF '99 | |
16- KOF 2003 | |
17- Top hunter | |
18- Blazing star | |
19- Savage reign | |
20- Flying power disc | |
# thermaltreasure | |
1.Fatal Fury Real Bout | |
2.KOF 95 | |
3.Nam 1975 | |
4.Samurai Shodown II | |
5.Neo Turf Masters | |
6.Fatal Fury Special | |
7.KOF 94 | |
8.Money Puzzle Exchanger | |
9.Shock Troopers | |
10.The Last Blade | |
11.Metal Slug 2 | |
12.KOF 98 | |
13.Art of Fighting | |
14.Last Resort | |
15.Magician Lord | |
16.Samurai Shodown | |
17.Garou: Mark of the Wolves | |
18.Super Sidekicks 3 | |
19.Fighters History Dynamite | |
20.Crossed Swords II | |
# vendest | |
1.MOTW | |
2.Samurai Shodown IV | |
3.KOF98 | |
4.Windjammers | |
5.Samurai Shodown II | |
6.Samurai Shodown V | |
7.KOF2001 | |
8.KOF97 | |
9.Metal Slug 2 Turbo | |
10.Magical Drop 3 | |
11.Sonic Wings 2 | |
12.Real Bout 2 | |
# oliverclaude | |
01. Nam-1975 | |
02. Cyber-Lip | |
03. League Bowling | |
04. Blue's Journey | |
05. Alpha Mission II | |
06. Crossed Swords | |
07. Last Resort | |
08. Andro Dunos | |
09. Viewpoint | |
10. Sengoku 2 | |
11. Windjammers | |
12. Pulstar | |
13. Samurai Shodown III | |
14. Neo Turf Masters | |
15. Metal Slug | |
16. Ninja Master's | |
17. Waku Waku 7 | |
18. The Last Blade | |
19. Blazing Star | |
20. Matrimelee | |
# terry_330 | |
1. Fatal Fury Special | |
# MOLTOMOLTO | |
1. Real Bout Fatal Fury 2 | |
2. Real Bout Fatal Fury Special | |
3. Metal Slug 3 | |
4. MOTW | |
5. Neo Turf Masters | |
6. Metal Slug X | |
7. Metal Slug 1 | |
8. KOF 98 | |
9. KOF 2003 | |
10. Shock Troopers | |
11. Last Blade | |
12. King of the Monsters 2 | |
13. Blazing Star | |
14. Sengoku 3 | |
15. Last Blade 2 | |
16. Windjammers | |
17. Waku Waku 7 | |
18. SVC Chaos | |
19. Baseball Stars 2 | |
20. Pulstar | |
# RAZO | |
1. Super Sidekicks | |
2. MOTW | |
3. Samurai Shodown III | |
4. Samurai Shodown II | |
5. Baseball Stars 2 | |
6. Last Blade | |
7. Last Blade II | |
8. Dunk Dream | |
9. Ninja Masters | |
10. Real Bout Fatal Fury Special | |
11. Real Bout Fatal Fury 2 | |
12. Sengoku | |
13. Sengoku II | |
14. Sengoku 3 | |
15. Metal Slug | |
16. Metal Slug 3 | |
17. Ninja Commando | |
18. Magician Lord | |
19. Art of Fighting | |
20. Kizuna Encounter |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment