How Many AI Agents can JavaScript Handle? @simondev758
How Many AI Agents can JavaScript Handle?  @simondev758
Uploaded March 2020 | Updated September 2026, 3 weeks ago
How Many AI Agents can JavaScript Handle?

Inspired by Brackeys's video "How Many AI Agents can Unity Handle?", I decided it'd be fun to try a JavaScript version, with a bunch of work thrown at a* optimization, generation JavaScript optimization, and a little (lot) of cheating.

I walk through the steps of getting this all working, starting with a maze generation implementation, and an a* implementation. I reuse the code from my boids implementation but with a path following behaviour added, and finally we look at a* optimization and general javascript optimization to improve the framerate.

Github: github.com/simondevyoutube

Credits:
Brackeys' Video: youtube.com/watch?v=G9Otw12OUvE
XCom2: youtube.com/channel/UC_h2l2T4FrJzfdMF6RbOrcQ
Civ6: youtube.com/channel/UCWj7XnnfbKHGVnZ8iSoETSQ
Dragon Age: youtube.com/user/dragonageofficial
Starcraft2: youtube.com/user/starcraft
How Many AI Agents can JavaScript Handle?How Big Budget AAA Games Render BloomHow I Optimized My JavaScript Project (Complete Walkthrough) | Faster Spatial Hash GridsBuilding a Simple First Person CameraCan JavaScript Go Faster? Threading in JavaScript (Data Structures & Optimization)Most Optimization Advice Misses the REAL ProblemBuilding a Simple 3D Scene with Physics in JavaScript & Three.js3D World Generation #8: Floating Origins for Bigger Worlds (JavaScript/Three.js)3D World Generation: #5 (Texturing): Triplanar Mapping/Infinite Splatting/Blending/BombingThe ONE Texture Every Game NEEDS3D Mesh Generation, Gaps, and Stitching (3D World Generation #10)Spatial Hash Grids & Tales from Game Development
SimonDev |

How Many AI Agents can JavaScript Handle?

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER