Your question is a little too broad to receive an answer of any value. Your first step should be the design phase - break your game into the tools, screens, objects that you will need and the skills you will need to learn. Then tackle each task one at a time.
You will get far more useful responses by asking "How to I make a pop-up window" than "How do I make a game". Be specific in your request and if possible show a little bit of code to let us know where you are starting from and that you have at least tried to tackle the problem before posting.
http://www.canceriannewmedia.com