Petr Baudis
f2ca1972a5
Example client: GNU Screen needs explicit locking
2011-12-27 03:25:00 +01:00
Petr Baudis
41492f32bf
Example client: Terminating tick with empty line is superfluous now
2011-12-26 22:00:13 +01:00
Petr Baudis
3bc018bc73
Example client: Track last_bred and do not attack for a while after breeding
2011-12-26 21:59:54 +01:00
Petr Baudis
2e42c268f1
Example client: Track agent_id in the state
2011-12-26 21:59:12 +01:00
Petr Baudis
5148607134
Example client: Fix pheromone ids, max is 65535; also, more cautious pheromone-based mate choice
2011-12-26 21:48:58 +01:00
Petr Baudis
3aae38c1cf
connection::actions(): Close a connection attempting to connect to bad agent id
2011-12-26 21:47:23 +01:00
Petr Baudis
be10580643
Report suspicious events (out-of-sync agents, unexpectedly disconnected agents)
2011-12-26 21:47:03 +01:00
Petr Baudis
a565d5d81d
Example client: Avoid herps and corpses when fully fed, helps sustainability
2011-12-26 20:28:04 +01:00
Petr Baudis
a9884cf827
connection::actions(): Fix negotiation termination by empty line
2011-12-26 20:27:29 +01:00
Petr Baudis
4fb7b18dd3
Example client: Support for breeding
2011-12-26 20:12:10 +01:00
Petr Baudis
407daec822
connection::actions(): Do not require tick prefix during negotiation
2011-12-26 20:11:19 +01:00
Petr Baudis
cf5586c35f
connection::senses(): Enlarge buffer size, pheromones can get very long
2011-12-23 19:23:16 +01:00
Petr Baudis
3889fba5d4
Example client: Invest energy/5 into attack, instead of fixed 100
2011-12-23 18:49:14 +01:00
Petr Baudis
60989d7588
Example client: Implement fleeing
2011-12-23 18:48:29 +01:00
Petr Baudis
f2d3cfad0d
Example client: Describe policy
2011-12-23 18:38:40 +01:00
Petr Baudis
e97cb92979
Example client: Use the conservative default values for attributes
2011-12-23 18:34:24 +01:00
Petr Baudis
4c1b54c993
Example client: Implement pheromone processing
2011-12-23 18:33:16 +01:00
Petr Baudis
043c92f850
Example client: Document the state structure
2011-12-23 18:11:03 +01:00
Petr Baudis
11511840bd
Example client: Fix secrete command issue
2011-12-23 17:57:08 +01:00
Petr Baudis
df066955cd
Example client: Add many comments
2011-12-23 17:55:18 +01:00
Petr Baudis
9baf771807
Incomp. Proto. Change: Maintain sync by prefixing client commands by tick id
2011-12-22 15:28:05 +01:00
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
724cf937d7
Merge branch 'master' of github.com:brmlab/brmlife
2011-12-09 14:52:41 +01:00
Petr Baudis
452c4a0744
Example client: Try fixing erratic movement
2011-12-09 14:52:28 +01:00
Petr Baudis
2b8a07dee6
Merge branch 'master' of ssh://github.com/brmlab/brmlife
2011-12-09 01:37:55 +01:00
Petr Baudis
abe9f7d8bc
Example client: Use persistent state
2011-12-09 01:37:50 +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
b693b5d6f4
connection::actions(): agent& -> agent*, more natural agent_id handling
2011-12-08 03:02:08 +01:00
Petr Baudis
8ae6051e97
Support reconnecting to agents
...
Agents do not die immediately on disconnect anymore. Instead, agent_id
is sent at birth and can be sent during negotiation to attach to a
disconnected agent.
2011-12-08 02:21:56 +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
5435014c1d
Merge branch 'master' of https://github.com/sachy/brmlife
2011-12-08 00:11:33 +01:00
Petr Baudis
96208e93ba
Pheromones: Merge tile and agent info in pheromones output
2011-12-08 00:10:09 +01:00
Petr Baudis
61cdd42252
README: Document pheromones
2011-12-07 23:59:28 +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
29fddde51c
Example client: Secrete a pheromone
2011-12-07 23:54:17 +01:00
Petr Baudis
a821e72661
Introduce pheromones
2011-12-07 23:54:03 +01:00
Petr Baudis
61cc3ef015
connection::senses(): Clean up visual sending
2011-12-07 23:28:11 +01:00
sachy
2ca7f88721
Patches, patches, patches...
2011-12-03 20:13:08 +01:00
Petr Baudis
7e994ba763
agent::attack_dir): Don't process herbs
2011-12-03 20:04:46 +01:00
Petr Baudis
22b2408ba2
client/example: More succint type testing
2011-12-03 19:56:37 +01:00
Petr Baudis
3d0fd3ab94
client/example: Include tickid in state
2011-12-03 19:53:35 +01:00
Petr Baudis
56c30d4086
agent::attack_dir(): Do not deal instantkills, instead deduce just some amount of energy
2011-12-03 19:46:43 +01:00
Petr Baudis
83bbb30125
client/example: Prefer diagonal moves; some extra comments
2011-12-03 19:31:53 +01:00
Petr Baudis
ca7dbc3962
agent::attack_dir(): Cleanup
2011-12-03 19:25:39 +01:00
Petr Baudis
5638bfae4c
client/example: Moar moar debug
2011-12-03 19:25:27 +01:00
Petr Baudis
692f968e64
./brmlife -t: Missing break
2011-12-03 18:57:53 +01:00
Petr Baudis
cd79c56bfb
./brmlife -t TICKMS: Implement customizable tick length
2011-12-03 18:54:05 +01:00
Petr Baudis
65c02784b5
client/example: Moar debug
2011-12-03 16:02:04 +01:00