Commit graph

13 commits

Author SHA1 Message Date
Petr Baudis
a821e72661 Introduce pheromones 2011-12-07 23:54:03 +01:00
Petr Baudis
be64c92077 tile::str(): Report herb 2011-11-27 07:41:23 +01:00
Petr Baudis
0e1243f86f Evolve herbs dynamically based on energy 2011-11-27 07:33:48 +01:00
Petr Baudis
4d697adc83 Spawn some herbs at startup 2011-11-27 05:26:44 +01:00
Petr Baudis
14015e3bfc tile::symbol(): Return 'a' on dead agents 2011-11-27 04:16:07 +01:00
Petr Baudis
f0a603352f Sense around: Extended format describing agents explicitly 2011-11-27 03:43:45 +01:00
Petr Baudis
ec3897b29b map::agent_startpos(): Introduce, abstract out from main loop 2011-11-27 00:38:31 +01:00
Petr Baudis
ea4f18b642 map::on_tick(): Move to map.cc 2011-11-27 00:36:07 +01:00
Petr Baudis
56726a6c05 Get rid of class position 2011-11-26 20:40:05 +01:00
Petr Baudis
a131964cc0 position() constructor: Take map ref, not ptr 2011-11-26 19:40:55 +01:00
Petr Baudis
1eaf680111 tile::on_agent_enter(): Check for collisions 2011-11-26 19:40:05 +01:00
Petr Baudis
8e78efd7d8 tile::symbol() -> ::type_symbol(), ::symbol() accounts for agent id 2011-11-26 19:26:32 +01:00
Petr Baudis
ce6f46ef1c brmlife: Initial version
Can draw 10x10 field of dots.
2011-11-26 19:21:27 +01:00