Commit graph

14 commits

Author SHA1 Message Date
Petr Baudis
a821e72661 Introduce pheromones 2011-12-07 23:54:03 +01:00
Petr Baudis
0e1243f86f Evolve herbs dynamically based on energy 2011-11-27 07:33:48 +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
ba9d51fda0 Tidyup. 2011-11-27 00:35:11 +01:00
Petr Baudis
54603edcb9 map::map: Use in-place constructor 2011-11-27 00:04:45 +01:00
Petr Baudis
eb42ab4764 map::on_tick(): Introduce, call in each tick 2011-11-27 00:03:20 +01:00
Petr Baudis
a72882a743 Fix map addressing 2011-11-26 22:00:16 +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