Learning game development is mostly practice and references! After making some games and trying what works and what doesn't it kind of becomes part of your intuition! It's also good to try to replicate stuff you see in other games too! It's a fun technical exercise and you get to see what works!
I'm happy you enjoyed the game!