I learned programming by building games in Java. I've since learned from my mistake, but nonetheless it was very helpful to learn how to structure code properly and build systems from scratch. Nowadays I have started building a stealth-heavy horror game in Godot. If that sounds interesting to you, follow me to hear when it's released.