Richard Harrington
499602baa6
moved shell and shell-id to top level of world
2013-09-03 12:34:45 -04:00
Richard Harrington
2ab3336629
curtailed amount of info (And sig-figs) sent for shells
2013-09-01 22:47:59 -04:00
Richard Harrington
102a307af8
changed shells to a map-indexed system, for identifying new ones
...
(so far, we can't play the same sound at the same time
anyway, so this change has no visible effect yet)
2013-08-22 15:25:36 -04:00
Richard Harrington
b27f1212a1
got rid of comment
2013-08-21 22:10:25 -04:00
Richard Harrington
0ee2637024
got shells (mostly) working
2013-08-21 21:47:52 -04:00
Richard Harrington
5a5fb86359
added support for shells to tick-combined-world
2013-08-21 20:36:57 -04:00
Richard Harrington
36ea96826f
changed 'step-' named functions to 'tick-'
2013-08-21 11:11:16 -04:00
Richard Harrington
9b46900f9b
changed width and height to robot-range-x and robot-range-y and made
...
them constants
because technically, the robot ranges are the maximum ranges for the
centers of the robots' bodies,
so the actual extent of the arena when
displayed must be slightly larger
2013-08-20 12:10:58 -04:00
Richard Harrington
a1df709c4f
now only stores last world in each round when building simulation
...
also did significant refactoring, including changing
variable names from 'round' to 'combined-world' before
going through the simulation-pass, and 'sim-world' afterwards.
Soon, we'll make the worlds coming out of 'sim-world' a lot less
verbose.
2013-08-16 23:26:34 -04:00
Richard Harrington
703c1939b4
removed extraneous code from world
2013-08-16 21:55:45 -04:00
Richard Harrington
17cd71f758
removed world helper functions made extraneous by lack of tick-duration variable
2013-08-14 23:15:19 -04:00
Richard Harrington
cd1a9fabbd
removed passing of tick-duration down into brain and robot
...
replaced with dynamic "constant" *GAME-SECONDS-PER-TICK*,
so we can alter it during tests
2013-08-14 23:12:50 -04:00
Richard Harrington
2bf499766b
changed damage from '0 to 100' to '100 to 0' -- i.e., it should be called health instead
2013-08-14 17:20:47 -04:00
Richard Harrington
1ad383a993
added line to display seconds elapsed in game world (to text display)
2013-08-14 08:16:53 -04:00
Richard Harrington
36f8dcef4e
added fast forward feature to display
2013-08-14 08:16:33 -04:00
Richard Harrington
166d7d3661
added some attributes to be printed during animation
2013-08-13 16:49:02 -04:00
Richard Harrington
aaccabac56
got animation timing working
2013-08-13 16:48:22 -04:00
Richard Harrington
eda0ba43fd
formatted lines in display to 1 decimal point
2013-08-13 14:54:06 -04:00
Richard Harrington
af36cdebb6
fixed robot :pos-x and :pos-y generation, so they're floats
2013-08-13 14:53:34 -04:00
Richard Harrington
3ba9aee7c6
spruced up display of frames per second in animate
2013-08-12 17:52:07 -04:00
Richard Harrington
02eb04cae0
altered name and docstring for the function tying a world sequence to its tick-time
2013-08-12 17:44:46 -04:00
Richard Harrington
fdd79474d5
fixed rounding error causing some robots not to display in the text-output arena
2013-08-12 17:44:04 -04:00
Richard Harrington
c5ff1f4a6e
removed :icon from robot attributes; not related to anything except display
2013-08-12 17:24:16 -04:00
Richard Harrington
4c6638a6a3
got a little reporting of position going for animation screen
2013-08-12 16:38:08 -04:00
Richard Harrington
f90b7c37a0
got terminal animation almost working, without being able to set frame rate
2013-08-12 16:20:45 -04:00
Richard Harrington
088fbea98e
updated arena-text-grid so it works now.
2013-08-12 15:00:03 -04:00
Richard Harrington
6b573d8a9b
added back in the icon attribute for robots, currently just the char of their idx
2013-08-12 14:59:31 -04:00
Richard Harrington
a56d210fe4
changed tick-duration so it's a parameter passed into tick-world
2013-08-12 00:13:13 -04:00
Richard Harrington
50ddd8d2b7
changed all values & calculations outside the brain to floating point
...
(also added stuff to the register functions that pull and push
from the brain to the robot fields, casting to integer when
pulling, and float when pushing)
2013-08-11 23:32:58 -04:00
Richard Harrington
32eac97e0c
changed TICK_DURATION from a constant to a parameter that we pass into robot
2013-08-11 22:37:20 -04:00
Richard Harrington
2846ed4151
added iterate-worlds convenience function to world
2013-08-10 17:03:58 -04:00
Richard Harrington
3fe4444f7a
ATTN: commits now contain internal info. Changed register system to
...
mostly an interface.
Removed :val field from all registers except storage registers & INDEX.
Some of the other registers were already quite specialized, but
the ones that weren't -- the ones that relied on :val fields in the
register -- are now just interfaces to attributes stored on the top
level of the robot.
2013-08-09 00:51:42 -04:00
Richard Harrington
5477c430d8
changed damage so it goes up instead of down
2013-08-06 13:06:37 -04:00
Richard Harrington
54161691fa
made shorter aliases (without 'robotwar.' prefix) for all namespaces
2013-08-06 11:34:51 -04:00
Richard Harrington
041a639203
wrote special-purpose registers: X, Y, DAMAGE, INDEX, DATA, RANDOM. Brain tests now failing.
2013-08-05 21:40:23 -04:00
Richard Harrington
28efa906c2
got basic skeletons of robot and world up and running, all tests but one passing in brain-test
2013-08-05 00:26:05 -04:00
Richard Harrington
0c988d61f4
commented out most of these high-level files till the refactoring is done
2013-08-03 03:38:28 -04:00
Richard Harrington
9112c82dc6
making progress on refactoring, especially in brain (formerly robot). made new file called robot to represent external robot state
2013-08-02 01:36:17 -04:00
Richard Harrington
6e04c076a6
grinding along with the refactoring
2013-08-01 20:01:08 -04:00
Richard Harrington
08dcf38214
refactored, changed module names, untangled dependencies between kernel language and register names. Also removed 'repl'
2013-07-31 20:55:15 -04:00