Coding in general is very different and individual from person to person. before trying to make your own first game, my recommendation is to make small demo's to get-to-grips with the language, syntax, advantages and pitfalls. after a while when you feel confident, try to put the pieces together, and slowly but surely, a game will evolve