Creating the smartCaps class, where capsules with brains can perform a random sequence of moving and rotating.
0:00 Intro
1:12 The Ball Appears
2:58 Capsule Moving Randomly
4:38 Optimizing its Movement
5:36 Imitating the Keyboard
7:54 The smartCaps class
10:07 Array of smartCaps
10:39 Limiting the Steps
Source Code - https://github.com/danielszabo88/smar...
2D Physics Engine Playlist - • 2D Physics Engine from Scratch (JS)