Fix bugs, add example game, add jasmine tests to gruntfile