Commit Graph

  • 4505b279f9 fixed degree conversion to account for robotwar coordinate system Richard Harrington 2013-08-22 12:30:22 -0400
  • 2d34d012e2 hid the deg-rad conversion on the front end also Richard Harrington 2013-08-22 11:58:37 -0400
  • 63fd4c157d hid the deg->rad conversion inside the angle decompose function Richard Harrington 2013-08-22 11:24:33 -0400
  • e2baa8e29d changed names & logic from 'canvas' to 'animation' because it includes sound now Richard Harrington 2013-08-22 11:13:06 -0400
  • 5753b593a2 changed to drawing shells first each frame, before robots Richard Harrington 2013-08-22 11:04:36 -0400
  • 9b49d3dd60 changed robot shot time, for easier testing Richard Harrington 2013-08-22 01:55:17 -0400
  • dbf2ea20cc implemented shot sound when robot fires its gun Richard Harrington 2013-08-22 01:54:56 -0400
  • acaf22d46c added a bunch of ogg and mp3 blaster noises Richard Harrington 2013-08-22 01:49:41 -0400
  • b942978bd2 increased worlds buffer size, to browser Richard Harrington 2013-08-21 22:10:45 -0400
  • b27f1212a1 got rid of comment Richard Harrington 2013-08-21 22:10:25 -0400
  • 3ee19087e1 fixed equality error causing shells to sometimes proliferate out of control Richard Harrington 2013-08-21 21:59:30 -0400
  • 0ee2637024 got shells (mostly) working Richard Harrington 2013-08-21 21:47:52 -0400
  • 0d5f3838ac altered shooter source code to not use random numbers Richard Harrington 2013-08-21 21:47:07 -0400
  • 0c4ad24a9b removed comment in shooter source code Richard Harrington 2013-08-21 21:46:47 -0400
  • 3ff18fb289 changed shell constants Richard Harrington 2013-08-21 21:46:14 -0400
  • 5a5fb86359 added support for shells to tick-combined-world Richard Harrington 2013-08-21 20:36:57 -0400
  • 12e80d2379 added tick-shell function Richard Harrington 2013-08-21 20:27:48 -0400
  • 17f913820a Merge branch 'shell' Richard Harrington 2013-08-21 19:33:30 -0400
  • 52fe0ba01d Merge branch 'master' into shell Richard Harrington 2013-08-21 19:33:13 -0400
  • 1cb3d98701 added new shooter program; commented out because writing to SHOT not working Richard Harrington 2013-08-21 19:33:01 -0400
  • 4c90966445 fixed merge conflict Richard Harrington 2013-08-21 19:23:18 -0400
  • 4993d9a450 fixed bugs in World refactoring, in main.js Richard Harrington 2013-08-21 19:18:29 -0400
  • 6546f18249 Merge branch 'frontend' Richard Harrington 2013-08-21 17:30:37 -0400
  • ba784981cd refactored main.js to hide more queue-specific stuff in Worlds Richard Harrington 2013-08-21 17:29:29 -0400
  • 7afb653f38 changed namespace phys to physics Richard Harrington 2013-08-21 13:23:49 -0400
  • faee52fcd8 moved trig functions from shell into phys namespace Richard Harrington 2013-08-21 13:19:21 -0400
  • 1a5b3e3727 separated out tick-robot code into helper functions: move-robot and update-shot-timer Richard Harrington 2013-08-21 13:12:42 -0400
  • 36ea96826f changed 'step-' named functions to 'tick-' Richard Harrington 2013-08-21 11:11:16 -0400
  • 8d0996bec6 moved physics formulas from robot into their own namespace Richard Harrington 2013-08-21 10:29:44 -0400
  • 6be9e599e1 added firing of new shells to SHOT write-register function Richard Harrington 2013-08-20 23:22:40 -0400
  • 206f44ed9e added shell module, with some trig functions Richard Harrington 2013-08-20 23:22:07 -0400
  • a632b53817 added SHELL_SPEED constant Richard Harrington 2013-08-20 23:21:45 -0400
  • 63ff5c8e05 refactored 'register' to do a lot more destructuring of registers and robots passed as parameters Richard Harrington 2013-08-20 17:45:37 -0400
  • 61dcd040ad got the shot timer counting down Richard Harrington 2013-08-20 17:30:37 -0400
  • ad24b7e850 added SHOT register and :shot-timer robot field. Richard Harrington 2013-08-20 17:01:42 -0400
  • a32a83d24f refactored register to be able to use mixins separate from their map keys Richard Harrington 2013-08-20 16:02:40 -0400
  • c38f82d22e moved single-use read- and write-register functions directly into the extend protocol blocks as anonymous functions Richard Harrington 2013-08-20 15:05:03 -0400
  • 163ba2840b altered indentatin in register Richard Harrington 2013-08-20 15:03:34 -0400
  • 07596d8fad refactored 'register' with path-to-robot-field convenience function Richard Harrington 2013-08-20 14:57:53 -0400
  • 70c866189b refactored drawing of circles; added drawing of lines, and guns Richard Harrington 2013-08-20 14:39:16 -0400
  • 09aea21988 changed name of draw function to drawWorld, main.js Richard Harrington 2013-08-20 14:38:11 -0400
  • f6ce750299 refactored scaleFactorX & Y stuff into functions, in main.js Richard Harrington 2013-08-20 14:36:46 -0400
  • 0bcff121ae altered :moving-to-spot program so it sets the gun aim to a random direction Richard Harrington 2013-08-20 14:32:15 -0400
  • f440a473ed updated comment for worlds constructor Richard Harrington 2013-08-20 14:26:37 -0400
  • 1aa388eb54 added Geom module for geometric calculations Richard Harrington 2013-08-20 14:26:03 -0400
  • e02dd126c0 each new index.html request now initiates a new game instance Richard Harrington 2013-08-20 13:25:51 -0400
  • d7d27ca9f0 moved test-programs out of test into src, renamed it src-programs Richard Harrington 2013-08-20 12:21:09 -0400
  • 9b46900f9b changed width and height to robot-range-x and robot-range-y and made them constants Richard Harrington 2013-08-20 12:10:58 -0400
  • e3b879fba8 removed 'core' dependency in handler, now depends on world and browser Richard Harrington 2013-08-20 11:51:40 -0400
  • b4b962096b separated 'animate' into two namespaces: 'terminal' and 'browser' Richard Harrington 2013-08-20 11:40:29 -0400
  • 2074f589a5 changed keypress to keydown, to allow for repeating when key is held down Richard Harrington 2013-08-19 21:05:26 -0400
  • c4397525e5 cleaned up keyboard event listener code Richard Harrington 2013-08-19 20:59:54 -0400
  • cb93f22cdd added comment about removing simulation loop, index.html Richard Harrington 2013-08-19 20:59:29 -0400
  • a40455bae7 removed TODO comment in index.html about fastForward Richard Harrington 2013-08-19 20:55:28 -0400
  • d453f5b9ad added STARTING_FAST_FORWARD config and set it to 15 Richard Harrington 2013-08-19 20:54:24 -0400
  • af2a9272e3 added keyboard event listeners for fast-forwarding Richard Harrington 2013-08-19 20:50:04 -0400
  • 2671d42f0e set it up to skip simulation worlds, for better fast forwarding Richard Harrington 2013-08-19 20:49:32 -0400
  • 84ce9109c8 fixed debugStartTime parameter in index.html Richard Harrington 2013-08-19 20:47:44 -0400
  • df46da85ba changed gameSecondsPerTick in index.html to almost exactly 1/30 Richard Harrington 2013-08-19 20:42:19 -0400
  • 5d03943942 added drop and dropMulti to Queue library Richard Harrington 2013-08-19 20:40:37 -0400
  • 284e2b55a9 whole lot of refactoring of main.js into more coherent pieces Richard Harrington 2013-08-19 20:05:39 -0400
  • 42a4d40105 removed comment Richard Harrington 2013-08-19 13:53:47 -0400
  • c205f120b7 changed robot radius Richard Harrington 2013-08-19 13:53:33 -0400
  • ee04037e79 tightened up html (cosmetic) Richard Harrington 2013-08-19 13:28:07 -0400
  • 36e418efd6 separated out javascript from index.html Richard Harrington 2013-08-19 13:27:54 -0400
  • 8000fdabea separated out css from index.html Richard Harrington 2013-08-19 13:26:53 -0400
  • 2fde950905 fixed merge conflict Richard Harrington 2013-08-19 13:07:04 -0400
  • 33c32856ea encapsulated all canvas stuff into its own object in index.html Richard Harrington 2013-08-19 12:34:22 -0400
  • 1215ab5b62 rewrote comment about dropping simulation ticks, in index.html Richard Harrington 2013-08-19 00:42:07 -0400
  • de4597e363 updated readme with description of namespaces Richard Harrington 2013-08-19 00:25:59 -0400
  • 420331ccd8 more work on animation in browser Richard Harrington 2013-08-18 22:32:53 -0400
  • af9e5e9317 got rid of debugging statements in handler Richard Harrington 2013-08-18 22:27:17 -0400
  • 49f2f47968 got animation going in the browser -- extremely hacky and full of debugging statements Richard Harrington 2013-08-18 21:32:13 -0400
  • 03ce17eb9a got enqueuing of downloaded json worlds going Richard Harrington 2013-08-18 19:58:55 -0400
  • 5750481e02 fixed bug in Queue.enqueueArray Richard Harrington 2013-08-18 19:58:04 -0400
  • 6d429d6da0 removed initial json fetching tests from client and handler Richard Harrington 2013-08-18 19:57:44 -0400
  • 31512947f0 fixed bug in my new enqueue_array function in Queue.js Richard Harrington 2013-08-18 18:18:56 -0400
  • 56391578ac removed most comments from Queue.js (easier to read without them) Richard Harrington 2013-08-18 18:15:44 -0400
  • 0afb9164b0 got jquery ajax calls working Richard Harrington 2013-08-17 17:07:01 -0400
  • 38d6182f15 added john resig's microtemplate thing Richard Harrington 2013-08-17 17:06:41 -0400
  • 2f06e361a5 modified Queue.js library with enqueue_array method Richard Harrington 2013-08-17 17:05:28 -0400
  • 6ec94986bb added Queue.js library Richard Harrington 2013-08-17 17:04:10 -0400
  • 044946ac93 got handler serving html file Richard Harrington 2013-08-17 17:02:51 -0400
  • f5af7a3724 added html hello-world Richard Harrington 2013-08-17 16:27:38 -0400
  • 391792be9a added jquery Richard Harrington 2013-08-17 16:27:14 -0400
  • 689cb9d693 built 'worlds-for-browser', tied handler to it Richard Harrington 2013-08-17 15:51:45 -0400
  • e51ba68254 changed 'build-sim-worlds' to 'worlds-for-terminal', flattened data structure of results a bit Richard Harrington 2013-08-17 15:51:10 -0400
  • eccfc3fff5 added code to handler to send simulations to browser Richard Harrington 2013-08-17 14:57:13 -0400
  • 295a8fc007 wrote take-drop-send function to pop n items off an agent-state Richard Harrington 2013-08-17 14:56:20 -0400
  • 61a3eed9d6 changed json test Richard Harrington 2013-08-17 01:53:35 -0400
  • d567887ee6 now removing brain from all robots in sim-world construction; easier to send by json Richard Harrington 2013-08-17 01:18:53 -0400
  • db061c7c36 added report for seconds elapsed in real world Richard Harrington 2013-08-17 01:18:18 -0400
  • 3111ca371a changed seconds elapsed in game world report from float to decimal Richard Harrington 2013-08-17 01:17:43 -0400
  • 659898494e uncommented and spruced up pprinting convenience functions in core Richard Harrington 2013-08-16 23:49:03 -0400
  • 5892d6ad89 made some unnecessary thunks into resolved values in core Richard Harrington 2013-08-16 23:47:46 -0400
  • 534872d0a8 changed 'make-it-so' function in core so it takes fast-forward and fps parameters Richard Harrington 2013-08-16 23:34:30 -0400
  • a1df709c4f now only stores last world in each round when building simulation Richard Harrington 2013-08-16 23:26:34 -0400
  • 9ab14a7653 commented out convenience functions in core Richard Harrington 2013-08-16 23:25:33 -0400
  • 703c1939b4 removed extraneous code from world Richard Harrington 2013-08-16 21:55:45 -0400
  • 12ee2260c1 got compojure going, with a few sample routes Richard Harrington 2013-08-16 18:09:44 -0400