Literally this weekend during a game jam I knew every line of code to write and barely had any errors or had to look anything up for the first time ever. It is quite a feeling, so I'd definitely say something clicked. This is of course after doing 4-5 jams a month for a while and watching hundreds of tutorials (years of coding experience too).
I'd say it also heavily depends on your planning. If you know how the mechanics you are going to code are going to work and interact with the rest of your project, you will have a much better time coding them (guessing and checking is beyond frustrating at times and usually you will just be staring at the screen erasing and re-writing the same code blocks).
Overall its like any skill and it will definitely click at some point. You have to continuously practice and learn how to do things (making one game here or there isn't going to do much for fully understanding how it all works together).