Click to build walls, and when your done press space. Then click where you want to put your tank. Use the up and down arrow to accelerate and the left and right arrows to turn.Try to hit the AI tank with your bullets by pressing space, and try to avoid the AI bullets.
All code is 100% by me. The explosion sprite is by @JOEJOE2 The algorithm that the AI uses is called Dijkstra's and bolt bait explains it nicely. https://scratch.mit.edu/discuss/topic/7160/ Feel free to use it as long as you give credit #tank #AI #grid #remixable #smooth