The previously mentioned html5 is a good idea. Besides, if you want to develop a game then you can make use of a crossplatform game library, for example
libgdx[
^]. You write the game once in java and then you just compile it to many platforms: windows, android, ios. (Note: with libgdx you need a mac machine to compile to ios).