Uploaded December 2017 | Updated September 2026, 1 week ago
The final part of my big project! Artificial Intelligence is given to the worms so they can destroy each other! Mwa ha ha... Anyway, here an AI state machine is used to allow the AI to manipulate the input controls instead of the player. It's a nice approach as it means the game and physics code is untouched.
Big thanks to MaGetzUb from the OneLoneCoder Discord Server for the track - it's awesome!
And for derivation of the projectile formula, this guy nails it: youtu.be/32PiZDW40VI
Source: github.com/OneLoneCoder/Javidx9/tree/master/ConsoleGameEngine/BiggerProjects/Worms
Blog: onelonecoder.com
Twitter: @javidx9
Twitch: javidx9
Discord: discord.gg/WhwHUMV
The final part of my big project! Artificial Intelligence is given to the worms so they can destroy each other! Mwa ha ha... Anyway, here an AI state machine is used to allow the AI to manipulate the input controls instead of the player. It's a nice approach as it means the game and physics code is untouched.
Big thanks to MaGetzUb from the OneLoneCoder Discord Server for the track - it's awesome!
And for derivation of the projectile formula, this guy nails it: youtu.be/32PiZDW40VI
Source: github.com/OneLoneCoder/Javidx9/tree/master/ConsoleGameEngine/BiggerProjects/Worms
Blog: onelonecoder.com
Twitter: @javidx9
Twitch: javidx9
Discord: discord.gg/WhwHUMV



![[LIVE] Programming Fireworks! Celebrating Lots Of Subscribers!
This community has put me in a party mood! Lets celebrate!
Sorry about the slow start its my pre-stream test roll.
https://discord.gg/WhwHUMV
Blog: http://www.onelonecoder.com
Twitter: @javidx9
Twitch: javidx9 [LIVE] Programming Fireworks! Celebrating Lots Of Subscribers!](https://i.ytimg.com/vi/OmTD5IoqHJU/mqdefault.jpg)






