But you better get used to write program logic like flowcharts. Might wanna check out the code for GLSL HLSL shaders.
You still have to reprogram your mind from artist mindset - outlook, colors, shading - to a programmer mindset: mathematics, logic, code flow, variables, arrays.
I agree, but take it slow. How about learning about game flow first. Get the basic logic of a game first. It's about step by step. Once you get the flow, you understand the game better (or your game better).
Something like this for a start.