Petr Baudis
|
1d15adac48
|
Main loop: Switch to infinite ticking paradigm; agents connect on the fly, cannot reconnect yet
|
2011-11-26 23:50:07 +01:00 |
|
Petr Baudis
|
978a080656
|
~connection(): Close file descriptor
|
2011-11-26 23:43:52 +01:00 |
|
Petr Baudis
|
2603aacf1f
|
Don't die on SIGPIPE
|
2011-11-26 23:37:25 +01:00 |
|
Petr Baudis
|
07dbb9c4f9
|
~agent(): Introduce proper destructor
|
2011-11-26 23:36:10 +01:00 |
|
Petr Baudis
|
1ed67c81b6
|
Maintain and broadcast current tick id
|
2011-11-26 23:31:28 +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
|
a72882a743
|
Fix map addressing
|
2011-11-26 22:00:16 +01:00 |
|
Petr Baudis
|
2c83064fa9
|
Makefile: $(OBJS)
|
2011-11-26 21:47:40 +01:00 |
|
Petr Baudis
|
125d0a416e
|
Spawn agent at random position
|
2011-11-26 21:47:31 +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
|
f622f79283
|
gitignore
|
2011-11-26 19:41:27 +01:00 |
|
Petr Baudis
|
32dc354e60
|
Create an agent
|
2011-11-26 19:41:03 +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 |
|