Question: how long does it take to learn game coding?
Answer: Being able to significantly add to or change example code: a few months, to a few years, depending on the complexity of code being altered, or the size of the change being made. Being able to write a crummy game from scratch: a few months. Being able to make a decent game: 1-3 years of practice.