It's been quite a long time since I didn't come back to this topic. Actually, I was disappointed about my program to consume too much memory and the first demo attack function made it very slow until not finished. But I decided to continue after that anyway. The first thing I did is the bluetooth module functionality I have added recently. I used HC-05 bluetooth module and Android BlueDuino App to manage the game. With a joystick it was much more flexible, but now one can test this demo while using a mobile phone.
Here is the demo:
Car32x16Game.ino (23,0 КБ)