Thanks for the comments, this is really just version 0.02, just to try out an idea what might be a game in the future.
It is not obvious how to give the CPU "brains" and make it look like "human" at the same time. I am working on it anyway.
On the boundaries: Does anyone knows the standard size of the Kongregate games, here it is set to 300 but it is obviously too small.