well this should go under the programming thread but i will answer it anyway.
It is not as easy as you might think. first of all you need a in-depth knowledge of some scripting language. then you need tou spend several months writing code for that game. then you need to test and publish your game. so unless you are really serious about making a game just forget it.
yah, I don't know how to make one, but my friend tried making one, he got really far, his computer crashed though and deleted everything he had done I do suggest that you buy a programming book thing that will teach you the language, I think my friend had one called C++ or something like that, not completely sure XD, also you might want to have some money about since the game program Flash(that's the only one I know of if there are more other people would know them) is $600 i think. I'm not sure about the code thing, but I know it took about 5 months for my friend to finally start making the actual game, it was going to be one of those online games(looked really good too!) and stuff. It looks hard, but I think if you spend the time and moeny and patience ect. you'll have a good game...have a nice day
Its expensive and fairly complex, but if you're so determined there's a really good tutorial on youtube 4 it (sorry i couldnt find it so theres no link)