This probably belongs in the Programming Help forum, there are many things about this in that forum, Here is pretty much the basic answer, so look there.
5.How do I submit a game? We would love to host your games! Just make sure that you are uploading a game that you worked on. We will review your game and make sure it is acceptable for Armor Games. This process may take up to 3-4 business days. You can submit via the Submit form. Games can be of all shapes and sizes, and we would love to see what you are doing! If you want a game that you saw somewhere else on a different website contact the creator of that game and ask them to submit it to the site. You can also use the contact page to request a game to be added.
8. How do I create a game? See the Programming section of the forums and read the stickies: Here