github
Advanced Search
  • Home
  • Pricing and Signup
  • Explore GitHub
  • Blog
  • Login

gnuvince / clj-starcraft

  • Admin
  • Watch Unwatch
  • Fork
  • Your Fork
  • Pull Request
  • Download Source
    • 4
    • 0
  • Source
  • Commits
  • Network (0)
  • Issues (0)
  • Downloads (0)
  • Wiki (1)
  • Graphs
  • Branch: master

click here to add a description

click here to add a homepage

  • Branches (2)
    • lazy
    • master ✓
  • Tags (0)
Sending Request…
Enable Donations

Pledgie Donations

Once activated, we'll place the following badge in your repository's detail box:
Pledgie_example
This service is courtesy of Pledgie.

Clojure library to read Starcraft replay files — Read more

  cancel

  cancel
  • Private
  • Read-Only
  • HTTP Read-Only

This URL has Read+Write access

Added random race 
Vincent Foley (author)
Fri Mar 13 18:49:53 -0700 2009
commit  fed1411f8dc824f986a43e490eaf231bd3502aff
tree    94aae5a911481e97bd1a014ccfe47b0da16c8315
parent  82f3f690fbbcca2de8557285af071175bbc2e967
clj-starcraft /
name age
history
message
file .gitignore Loading commit data...
file README
file build.xml
file dump.clj
file gpl-3.0.txt
directory src/
README
Compilation
===========

ant -Dclojure.jar=<path to clojure.jar> -Dclojure-contrib.jar=<path to clojure-contrib.jar>


Usage
=====

(ns sc
  (:use [starcraft.replay.unpack]
        [starcraft.replay.utils])
  (:import [java.io File]))

(def rep (unpack (File. "LastReplay.rep")))
(:headers rep)
(unit-distribution (get-in rep [:players 0 :actions]))
(action-distribution (get-in rep [:players 0 :actions]))
(apm (get-in rep [:players 0 :actions]))
Blog | Support | Training | Contact | API | Status | Twitter | Help | Security
© 2010 GitHub Inc. All rights reserved. | Terms of Service | Privacy Policy
Powered by the Dedicated Servers and
Cloud Computing of Rackspace Hosting®
Dedicated Server