Hello,
I want to make a specific "border" at a certain area where the cpu bounces off. Here is a image of the world
https://ibb.co/X2L2WMr
The gray are in the middle is the are where everything caped.
You should not move over the playable area. Also the cpu when it touches this area should bounce of and turn like with this code
the "amRand" only checks the whole world and not the gray area .
So how can I do that
Best
if (amRand()) {drehe(95);}