@@ -0,0 +1,996 @@
+package skadistats.clarity.examples.gameevent;%0A%0Aimport org.slf4j.Logger;%0Aimport org.slf4j.LoggerFactory;%0Aimport skadistats.clarity.model.GameEvent;%0Aimport skadistats.clarity.two.processor.gameevents.OnGameEvent;%0Aimport skadistats.clarity.two.processor.runner.Context;%0Aimport skadistats.clarity.two.processor.runner.Runner;%0A%0Aimport java.io.FileInputStream;%0A%0Apublic class Main %7B%0A%0A    private final Logger log = LoggerFactory.getLogger(Main.class.getPackage().getClass());%0A%0A    @OnGameEvent%0A    public void onGameEvent(Context ctx, GameEvent event) %7B%0A        log.info(%22%7B%7D%22, event.toString());%0A    %7D%0A%0A    public void run(String%5B%5D args) throws Exception %7B%0A        long tStart = System.currentTimeMillis();%0A        new Runner().runWith(new FileInputStream(args%5B0%5D), this);%0A        long tMatch = System.currentTimeMillis() - tStart;%0A        log.info(%22total time taken: %7B%7Ds%22, (tMatch) / 1000.0);%0A    %7D%0A%0A    public static void main(String%5B%5D args) throws Exception %7B%0A        new Main().run(args);%0A    %7D%0A%0A%7D%0A

add handling for game events