in this new episode the entities have a new field
.pow for their inner-power
at every round-step a piece of this power decrease
their power can be refill'd by either catching some
food, or by a induction-wave that is sent w/ the 'w'
controller
Files:
it can be compil'd with:
$ gcc xlib_bw_120x80w.c -o xlib_bw_120x80w -lX11
then it can be call'd with:
$ ./xlib_bw_120x80w
with the new controller, 'w', we can send an "induction-wave".
when the entities stop moving because they have no power
anymore, this 'w' controller can send them a piece
of power so that they will be able to go until the next piece
of food.
license for the code:
to the extent permitted by law: spdx=any