Simon Brooke
57a86ca6c3
Mainly documentation tidy-up, a little code tidy-up.
2014-07-08 19:15:07 +01:00
Simon Brooke
1c0f6079d9
Fixed so that the dummy test passes. Obviously, it would have been better
...
to write real tests...
2014-07-07 19:35:46 +01:00
simon
1682050fbd
Still hacking rules
2014-07-04 11:03:39 +01:00
simon
9b52b7229b
Minor hacks trying to understand why some rules aren't working as expected.
2014-07-04 11:01:08 +01:00
simon
ac92181ab3
And another one introduced... and fixed.
2014-07-04 09:46:13 +01:00
simon
8593289a7b
Bug fixed!
2014-07-04 09:33:46 +01:00
simon
6320b3e5b0
There's a null pointer exception that currently occurs when a rule maps
...
onto neighbours, e.g.:
(map #(population % :deer) (get-neighbours world cell))
I've worked around it for now by commenting out the rules which do this,
but the bug is in get-neighbours and should be fixed there.
2014-07-04 09:10:58 +01:00
simon
8a00e5c0da
A great deal of change, mainly tidy-up and documentation, but also
...
added reading heightmaps.
2014-07-03 20:17:24 +01:00
simon
580ebb0e8e
Separated herbivore rule from predator rules so they can be added
...
separately.
2014-07-02 23:02:39 +01:00
simon
19db0e0673
Worked out why the wolves weren't working...
2014-07-02 23:00:23 +01:00
Simon Brooke
9ad67ba0a4
Small changes necessitated by reference from mw-ui.
2014-07-02 17:58:34 +01:00
Simon Brooke
37fad409ba
Separated the formatting of a cell out into a first class function.
2014-07-01 12:00:58 +01:00
Simon Brooke
b9bc270bdb
Added a set of rules which attempt to model natural processes in the
...
environment.
2014-07-01 11:38:18 +01:00
Simon Brooke
0dc6aab59d
Minor changes
2014-06-30 22:37:37 +01:00
Simon Brooke
977947d4b0
Now runs rather nicely, although output could be tidied up a bit!
2014-06-30 12:14:58 +01:00
Simon Brooke
7bfefe95ab
World now building correctly, and a simple printout function allows
...
a world to be inspected.
2014-06-30 10:13:04 +01:00
Simon Brooke
53a09fddf6
Written enough to create a world; get-neighbours function isn't working.
2014-06-29 18:19:21 +01:00