Petr Baudis
091708f577
Incomp. Proto. Change: attack_dir gets <force> parameter
2011-12-22 00:12:45 +01:00
Petr Baudis
177d41cf60
Incomp. Proto. Change: breeding_key -> breeding_key1, breeding_key2
2011-12-17 00:01:45 +01:00
Petr Baudis
23f2fce7ff
Support for breeding
...
One party initiates the breeding; the other party exerts most of the
energy if its breeding key matches. It is that party's responsibility to
set up the newborn agent's connection (but the father can pass it an
arbitrary message). Newborn is spawned immediately but can be
renegotiated on first connect.
2011-12-08 03:14:57 +01:00
Petr Baudis
417a5235a0
Describe agent object lifetime
2011-12-08 00:34:03 +01:00
Petr Baudis
343762c3bb
Make herbs die properly on energy depletion
2011-12-08 00:26:20 +01:00
Petr Baudis
2041242142
Make herbs smell
...
This slightly changes herb growth patterns in forests as well, in order to keep energy balance
2011-12-07 23:55:37 +01:00
Petr Baudis
a821e72661
Introduce pheromones
2011-12-07 23:54:03 +01:00
Petr Baudis
ada1d0a6c9
Fix agent initialization
2011-11-27 17:05:16 +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
b80ccfdffd
Attack, defense rates
2011-11-27 05:18:52 +01:00
Petr Baudis
2907cb6791
Connection: Add 'move' attribute to the negotiation phase
2011-11-27 05:07:01 +01:00
Petr Baudis
812e0da79b
agent::spawn(): Introduce
2011-11-27 04:30:18 +01:00
Petr Baudis
7714906baa
agent::spawn_at(): Disassociate from constructor, allow tile == NULL
2011-11-27 04:28:16 +01:00
Petr Baudis
0c29808836
Action attack_dir(): Implement, trivially random now
2011-11-27 04:10:53 +01:00
Petr Baudis
0398856635
agent::chenergy(): Implement
2011-11-27 04:02:25 +01:00
Petr Baudis
64ea015a06
Support for agent death
2011-11-27 02:48:28 +01:00
Petr Baudis
93882f79b9
Track agent energy
...
Base energy, move energy
2011-11-27 02:32:59 +01:00
Petr Baudis
de6a4d656f
Support for command input
...
For starters, 'move_dir x y' command is supported.
2011-11-27 02:14:57 +01:00
Petr Baudis
ba9d51fda0
Tidyup.
2011-11-27 00:35:11 +01:00
Petr Baudis
f0d0bef899
agent::on_senses_update(): Split off on_tick()
2011-11-27 00:33:05 +01:00
Petr Baudis
a645ba5758
agent::conn: Change to pointer, delete in ~agent()
2011-11-26 23:52:31 +01:00
Petr Baudis
07dbb9c4f9
~agent(): Introduce proper destructor
2011-11-26 23:36:10 +01:00
Petr Baudis
3d485518b0
agent::on_tick(): Introduce
2011-11-26 23:26:01 +01:00
Petr Baudis
6b3a51139a
Support for (read-only) TCP connection agent communication
2011-11-26 23:24:06 +01:00
Petr Baudis
b305a41cfc
agent::move_dir(): Implement
2011-11-26 20:40:22 +01:00
Petr Baudis
56726a6c05
Get rid of class position
2011-11-26 20:40:05 +01:00
Petr Baudis
32dc354e60
Create an agent
2011-11-26 19:41:03 +01:00
Petr Baudis
ce6f46ef1c
brmlife: Initial version
...
Can draw 10x10 field of dots.
2011-11-26 19:21:27 +01:00