Created
February 14, 2009 23:10
-
-
Save gnuvince/64518 to your computer and use it in GitHub Desktop.
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
user> (def rep (unpack (File. "/home/vince/prog/python/pyreplib/misc/sea_savior.rep"))) | |
#'user/rep | |
user> (unit-distribution (get-in rep [:players 0 :actions])) | |
{"Firebat" 34, "Dropship" 3, "Science Vessel" 43, "Medic" 48, "Marine" 599, "SCV" 82} | |
user> (unit-distribution (get-in rep [:players 1 :actions])) | |
{"Ultralisk" 95, "Defiler" 32, "Scourge" 25, "Mutalisk" 8, "Zergling" 179, "Overlord" 35, "Drone" 158} | |
user> (action-distribution (get-in rep [:players 1 :actions])) | |
{"Hatch" 532, "Attack/Right Click/Cast Magic/Use Ability" 849, "Stop" 23, "Morph" 27, "Shift Select Units" 110, "Shift Deselect Units" 78, "Hold Position" 62, "Select Units" 1562, "Return Cargo" 1, "Hot key" 2702, "Build" 62, "Move" 2044, "Unburrow" 1, "Cancel" 1, "Research" 5, "Burrow" 2, "Upgrade" 24, "Unload" 10} | |
user> (apm-stats (get-in rep [:players 0 :actions])) | |
[80 299 413] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment