@javidx9
  @javidx9
javidx9 | Code-It-Yourself! Worms Finale Part #3 (C++) @javidx9 | Uploaded 6 years ago | Updated 12 hours 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: https://youtu.be/32PiZDW40VI

Source: https://github.com/OneLoneCoder/Javidx9/tree/master/ConsoleGameEngine/BiggerProjects/Worms

Blog: http://www.onelonecoder.com
Twitter: @javidx9
Twitch: javidx9
Discord: https://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!Brute Force ProcessingThe Game Prince (?!)OLC Video Blog #1 -  Nintendo NostalgiaOLC 2020Code-It-Yourself! Frogger - Programming from Scratch (Quick and Simple C++)Introducing 2D Geometry LibraryCode Review: Saving Sedit Platform Game

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