The book The Nature of Code from Daniel Shiffman is a wonderful book about programming.
https://natureofcode.com/book/
About many things you need to know when programing games.
My personal challenge is to make an example for every chapter in Rust with Bevy (https://github.com/bevyengine/bevy)
Thanks to https://github.com/iMplode-nZ/bevy-orbit-controls. Many lines of the module orbitcamera.rs are from that.
Book: https://natureofcode.com/book/chapter-1-vectors/
Video: https://www.youtube.com/watch?v=bKEaK7WNLzM&list=PLRqwX-V7Uu6ZV4yEcW3uDwOgGXKUUsPOM&index=10
Book: https://natureofcode.com/book/chapter-2-forces/
Book: https://natureofcode.com/book/chapter-3-oscillation/
Book: https://natureofcode.com/book/chapter-4-particle-systems/
Book: https://natureofcode.com/book/chapter-6-autonomous-agents/
Inspired by SimonDev Flocking Simulation: Boids (JavaScript)
https://www.youtube.com/watch?v=LltugBg4dtk