среда, 1 июня 2016 г.

Pretty fun debugging AI

I develop AI step by step and now decided to move it to one root class - GridTowerAI.
But it is not soo easy as it sounds. I lose wait pause between shots.

It looks as very long trail of cannon/laser shots:

And it is very annoying, but interesting code collision of some metaphors.
I should check it and make it wait. One thing that help me in bug hunting - plain old paper prints.

Many monitors is pretty good, but paper is good at marking and writing thoughts (and drawing).