jtapolczai / wumpus

Affective Wumpus world.
Apache License 2.0
1 stars 0 forks source link

Write new message-handling mechanism #17

Closed jtapolczai closed 9 years ago

jtapolczai commented 9 years ago

The message space quickly gets cluttered and necessitates kludges like the the counters.

Instead, there should be two message spaces:

New messages should be inserted via a dedicated function. In each "round", messages should be take from the current message space and be distributed to the individual components, which may sieve them. Afterwards, the message space is cleared, and the components begin adding their messages anew.