Code-It-Yourself! Worms Finale Part #3 (C++) @javidx9
Code-It-Yourself! Worms Finale Part #3 (C++)  @javidx9
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
Code-It-Yourself! Worms Finale Part #3 (C++)Super Fast Ray Casting in Tiled Worlds using DDAEmbedding Lua in C++ Part 3: Meh... Just use Sol...Code-It-Yourself! Sound Synthesizer #2 - Oscillators & Envelopes[LIVE] Programming Fireworks! Celebrating Lots Of Subscribers!Huge 2^64 Conways Game Of Life Sim, using Sparse Encodingolc::PixelGameEngine 3.0 Tech PreviewBrute Force ProcessingThe Game Prince (?!)OLC Video Blog #1 -  Nintendo NostalgiaOLC 2020Code-It-Yourself! Frogger - Programming from Scratch (Quick and Simple C++)
javidx9 |

Code-It-Yourself! Worms Finale Part #3 (C++)

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER