Commit Graph

  • 02f9659df7 fixed typo in animate Richard Harrington 2013-08-15 16:24:09 -04:00
  • 257b6a2495 reworked hacky sandbox stuff in core.clj, to help with animation Richard Harrington 2013-08-15 16:22:00 -04:00
  • a9456eff09 added comments to :moving-to-spot test program Richard Harrington 2013-08-15 16:20:11 -04:00
  • 39e14197f5 added animate module. works. Richard Harrington 2013-08-15 15:37:18 -04:00
  • 45f6947ea8 moved constants out into their own file Richard Harrington 2013-08-15 11:31:37 -04:00
  • 17cd71f758 removed world helper functions made extraneous by lack of tick-duration variable Richard Harrington 2013-08-14 23:15:19 -04:00
  • 69ad5de274 fixed tests for robot-test so they use dynamic *GAME-SECONDS-PER-TICK* Richard Harrington 2013-08-14 23:13:49 -04:00
  • cd1a9fabbd removed passing of tick-duration down into brain and robot Richard Harrington 2013-08-14 23:12:50 -04:00
  • b3814cb459 fixed brain-test to conform to new format of test-programs programs Richard Harrington 2013-08-14 17:21:18 -04:00
  • 2bf499766b changed damage from '0 to 100' to '100 to 0' -- i.e., it should be called health instead Richard Harrington 2013-08-14 17:20:47 -04:00
  • 9e8285e86f added pprint to core Richard Harrington 2013-08-14 16:37:35 -04:00
  • 7d60b43a8b altered some todo comments in robot Richard Harrington 2013-08-14 16:37:05 -04:00
  • 1ad383a993 added line to display seconds elapsed in game world (to text display) Richard Harrington 2013-08-14 08:16:53 -04:00
  • 36f8dcef4e added fast forward feature to display Richard Harrington 2013-08-14 08:16:33 -04:00
  • 20f71db62f got :moving-to-spot test working, refactored test-programs a bit Richard Harrington 2013-08-13 23:50:12 -04:00
  • 166d7d3661 added some attributes to be printed during animation Richard Harrington 2013-08-13 16:49:02 -04:00
  • aaccabac56 got animation timing working Richard Harrington 2013-08-13 16:48:22 -04:00
  • eda0ba43fd formatted lines in display to 1 decimal point Richard Harrington 2013-08-13 14:54:06 -04:00
  • af36cdebb6 fixed robot :pos-x and :pos-y generation, so they're floats Richard Harrington 2013-08-13 14:53:34 -04:00
  • 3ba9aee7c6 spruced up display of frames per second in animate Richard Harrington 2013-08-12 17:52:07 -04:00
  • 02eb04cae0 altered name and docstring for the function tying a world sequence to its tick-time Richard Harrington 2013-08-12 17:44:46 -04:00
  • fdd79474d5 fixed rounding error causing some robots not to display in the text-output arena Richard Harrington 2013-08-12 17:44:04 -04:00
  • c5ff1f4a6e removed :icon from robot attributes; not related to anything except display Richard Harrington 2013-08-12 17:24:16 -04:00
  • 4c6638a6a3 got a little reporting of position going for animation screen Richard Harrington 2013-08-12 16:31:07 -04:00
  • f90b7c37a0 got terminal animation almost working, without being able to set frame rate Richard Harrington 2013-08-12 16:20:45 -04:00
  • 088fbea98e updated arena-text-grid so it works now. Richard Harrington 2013-08-12 15:00:03 -04:00
  • 6b573d8a9b added back in the icon attribute for robots, currently just the char of their idx Richard Harrington 2013-08-12 14:59:31 -04:00
  • e01d375bb3 made a more streamlined method of passing attributes from world to robots Richard Harrington 2013-08-12 14:58:54 -04:00
  • 96362ee41f wrote SPEEDY acceleration tests to match the SPEEDX ones Richard Harrington 2013-08-12 09:53:02 -04:00
  • 1c079c1fe9 added comment about acceleration tests Richard Harrington 2013-08-12 09:50:22 -04:00
  • 2e7415930e wrote negative acceleration test Richard Harrington 2013-08-12 09:47:49 -04:00
  • 85ccf2d04c fixed int/floating point error in robot-test Richard Harrington 2013-08-12 09:42:24 -04:00
  • 9cf4063603 fixed bug causing robot-step to add old pos and veloc instead of new Richard Harrington 2013-08-12 09:42:11 -04:00
  • e1b69e765c wrote positive acceleration test in robot. but kinematics now broken. Richard Harrington 2013-08-12 00:14:44 -04:00
  • 5a24642f3f removed cut and pasted example text from robot-test Richard Harrington 2013-08-12 00:14:08 -04:00
  • a56d210fe4 changed tick-duration so it's a parameter passed into tick-world Richard Harrington 2013-08-12 00:13:13 -04:00
  • 9fc3a06e7e added 'multiplier' field to all records in register Richard Harrington 2013-08-11 23:33:31 -04:00
  • 50ddd8d2b7 changed all values & calculations outside the brain to floating point Richard Harrington 2013-08-11 23:10:23 -04:00
  • 32eac97e0c changed TICK_DURATION from a constant to a parameter that we pass into robot Richard Harrington 2013-08-11 22:37:20 -04:00
  • af7618c7f9 added support for negative acceleration and fixed bug in robot Richard Harrington 2013-08-11 22:35:19 -04:00
  • 317cfdc05e added comment to informal robot test file Richard Harrington 2013-08-11 12:15:50 -04:00
  • f114dc57ac added repl results for kinematics tests in new robot-test file, will fix later Richard Harrington 2013-08-10 17:09:43 -04:00
  • 64ac3c743b fixed various bugs in kinematics calculations in robot Richard Harrington 2013-08-10 17:04:44 -04:00
  • 2846ed4151 added iterate-worlds convenience function to world Richard Harrington 2013-08-10 17:03:58 -04:00
  • 7e040dfcf5 expanded core.clj inspection functions to cover robot, world and worlds Richard Harrington 2013-08-10 15:55:26 -04:00
  • 2d7388f00f Merge branch 'assembler' -- this is a bad commit; should have merged this branch years ago Richard Harrington 2013-08-10 14:42:34 -04:00
  • cbcf620a00 added read-write test to register-test Richard Harrington 2013-08-10 14:41:05 -04:00
  • 43125f0e26 added test to read-only test section of register-test Richard Harrington 2013-08-10 14:40:10 -04:00
  • 99528fe9ba added read-only-test to register-test Richard Harrington 2013-08-10 14:29:52 -04:00
  • d07ab0607c added get-registers helper function to registers-test Richard Harrington 2013-08-10 14:29:17 -04:00
  • d0a1933b7d set up midje (mainly for auto-testing, for the time being) Richard Harrington 2013-08-10 14:28:17 -04:00
  • 0b007c9b53 added random-test to register-test Richard Harrington 2013-08-10 13:41:42 -04:00
  • 9e61c987c3 added index/data test to register-test Richard Harrington 2013-08-10 13:28:28 -04:00
  • 2f85cef477 removed random and index/data tests from brain-test Richard Harrington 2013-08-10 13:27:48 -04:00
  • 1424d47a4c started register-test namespace, with storage-register-test Richard Harrington 2013-08-10 13:13:40 -04:00
  • 94cf5b3f47 added logic in assembler to distinguish between registers and labels Richard Harrington 2013-08-10 01:34:03 -04:00
  • 528b18a45d fixed bugs in core.clj ppt inspection function, also made it more pretty Richard Harrington 2013-08-10 00:55:17 -04:00
  • 1cf9f7e42e put test programs into their own file; altered brain-test and core.clj accordingly Richard Harrington 2013-08-09 22:01:56 -04:00
  • 7618378083 removed unnecessary dependency on register in brain Richard Harrington 2013-08-09 16:27:10 -04:00
  • 2d7754c7f3 fixed merge conflict Richard Harrington 2013-08-09 16:11:16 -04:00
  • c802fc811e fixed desired-v-x and desired-v-y situation Richard Harrington 2013-08-09 16:07:18 -04:00
  • 6e6fd957f9 removed unnecessary assoc path functions in register Richard Harrington 2013-08-09 16:02:40 -04:00
  • 30a1ed781b switched to system where registers are part of the brain, not the robot Richard Harrington 2013-08-09 15:58:14 -04:00
  • 171fe5d5b2 fixed RANDOM register, was writing to robot-field still; now writes to register itself Richard Harrington 2013-08-09 15:57:16 -04:00
  • 11a96e1c52 minor whitespace issue Richard Harrington 2013-08-09 15:27:05 -04:00
  • 167c8e73ee changed name of 'reg-names-by-idx' back to 'reg-names' Richard Harrington 2013-08-09 15:26:02 -04:00
  • ac2c87325a changed name of reg-names to reg-names-by-index Richard Harrington 2013-08-09 14:58:24 -04:00
  • 98f7958e6a minor whitespace change Richard Harrington 2013-08-09 14:55:47 -04:00
  • ea5ca28e45 put storage-reg-names inline in init-register, instead of at beginning of file Richard Harrington 2013-08-09 14:55:30 -04:00
  • 135aeb54a4 fixed bugs causing test of RANDOM register to fail Richard Harrington 2013-08-09 14:43:33 -04:00
  • ccf23449fe restored loading of register namespace into brain Richard Harrington 2013-08-09 14:35:53 -04:00
  • b9bfca221d started reworking brain Richard Harrington 2013-08-09 14:34:00 -04:00
  • e6f1205164 finished reworking the RANDOM register to store max-value in the register, not the robot Richard Harrington 2013-08-09 14:32:17 -04:00
  • 8620ea8bac renamed records in register namespace, to reflect where data is being stored Richard Harrington 2013-08-09 14:30:14 -04:00
  • d3ead6f74c cleaned up namespace declarations in assembler and brain Richard Harrington 2013-08-09 13:58:56 -04:00
  • 3fe4444f7a ATTN: commits now contain internal info. Changed register system to mostly an interface. Richard Harrington 2013-08-09 00:51:42 -04:00
  • db63955567 removed passing of attributes from robot to init-register function. don't need them now. Richard Harrington 2013-08-09 00:38:21 -04:00
  • cd2fc415ea fixed slight bug in robot-field-read-register, in register namespace Richard Harrington 2013-08-08 23:53:07 -04:00
  • 8e2b0bcb78 fixed merge conflict Richard Harrington 2013-08-08 23:40:03 -04:00
  • abbc60d81c added 'random' record to register, switched to mixin system for most records, got all existing tests working Richard Harrington 2013-08-08 23:24:59 -04:00
  • 77f52915d2 added 'random' record to register, switched to mixin system for most records, got all existing tests working Richard Harrington 2013-08-08 23:24:59 -04:00
  • 74ab6affe3 fixed bug in pathfinder convenience functions in register Richard Harrington 2013-08-08 23:23:36 -04:00
  • 4d7fdb0cfb converted registers to protocols and records. 2/3 finished. Richard Harrington 2013-08-08 01:10:35 -04:00
  • 382a70bd34 created register namespace, moved game_lexicom stuff into it Richard Harrington 2013-08-07 11:36:03 -04:00
  • dc5531b3b5 removed kernel-lexicon dependency, moved all its data structures into assembler Richard Harrington 2013-08-07 10:21:21 -04:00
  • f65ee493a9 added todo Richard Harrington 2013-08-06 20:08:05 -04:00
  • b43eb26b37 fixed bug in robot.clj, all previous tests now working Richard Harrington 2013-08-06 19:21:35 -04:00
  • f1b94518f7 Merge branch 'master' into robot Richard Harrington 2013-08-06 18:35:44 -04:00
  • 94c069116f changed parameter-pass-in format to ppt in core.clj, to registers flattened in the argument list Richard Harrington 2013-08-06 18:35:27 -04:00
  • 7fd4baa3c2 fixed bug in ppt in core.clj causing it to refer to old hard-coded info rather than passed-in parameters Richard Harrington 2013-08-06 18:35:05 -04:00
  • 2b983b6080 in the midst of some changes to robot Richard Harrington 2013-08-06 18:17:26 -04:00
  • 9c4a576702 added to inspection functions in core.clj Richard Harrington 2013-08-06 18:01:57 -04:00
  • 40b1b4533d fixed typo in namespace require section of robotwar.core Richard Harrington 2013-08-06 18:00:51 -04:00
  • a30726aac2 added some distance, time and acceleration functions Richard Harrington 2013-08-06 16:19:01 -04:00
  • 6d16b1d4aa changed todo list comments about registers still to be done Richard Harrington 2013-08-06 16:18:33 -04:00
  • a26092a481 added default registers AIM, SPEEDX and SPEEDY Richard Harrington 2013-08-06 16:17:37 -04:00
  • de7497691c minor whitespace adjustment Richard Harrington 2013-08-06 16:17:05 -04:00
  • 154d3e70bc added TICK_DURATION constant Richard Harrington 2013-08-06 16:16:04 -04:00
  • 5477c430d8 changed damage so it goes up instead of down Richard Harrington 2013-08-06 13:06:37 -04:00
  • 3cdc91cd73 got index/data register pairs working Richard Harrington 2013-08-06 13:03:13 -04:00