DEV Community

Geet Sehgal
Geet Sehgal

Posted on

Another one of brain pickings

I am learning to create a 2D game on html game canvas and I reached to the point where I am able to get some motion from a few elements. Yay!
But now that I have that working, I was wondering if it will be possible to host the html file on a dedicated website with a button called "play"
If a user find the button Nd clicks on it, he gets to another page on the browser to play this game.
I have tried to upload the file but everytime I open it I can only see the code not it's execution.

Thanks in advance for the suggestions! :)

Top comments (0)