How to Make Your Own Online Game?

To make your own online game you can just write a small software program. You can make it something as simple as a java based program with basic programming skills. I remember writing a hangman game when I was 14!