How long does it take to make a game?

Well as a programmer, it takes as long as you want. If you want an amazing, very long, fun, well programmed game it takes about 1-4 years. If it's just a simple flash game like what you play on the internet probably just a few months. I made a pretty fun game that takes about an hour to beat the story mode, and that only took me about a month to make.