Created
October 2, 2011 03:51
-
-
Save cadwallion/1257017 to your computer and use it in GitHub Desktop.
SC2 Replay Analyzer
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
Create a program that takes 2 parameters: a directory of SC2 replays, and a player name. You will find two template files listed below. Create the files of the same name and copy the code provided. When you are finished, run 'bundle install' to install the SC2 Replay Parser library, called Tassadar. You will find information about Tassadar, including source code, at https://github.com/agoragames/tassadar/ | |
The program should calculate the wins and losses for all games played by the passed player, and output: | |
* Total Games Played (by the player passed) | |
* Games Won (by the player passed) | |
* Games Lost (by the player passed) |
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
source "http://rubygems.org" | |
gem 'tassadar', :git => 'git://github.com/agoragames/tassadar.git' |
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
require 'bundler/setup' | |
require 'tassadar' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment