You can host your games for free on github pages


#1

Check this:

Now go here:
https://euphe.github.io/mygame/index.html

Github provies free hosting for static websites. Since choicescript games are just static webpages you can host them on github pages.
Just read up on github pages, it shouldn’t take more then 10 minutes to read everything and upload your game.

For the lazy ones, here are quick instructions:

  1. Create a github account, create a github pages repository
  2. Go to the folder where your game is. It’s the choicescript/web folder.
  3. Open command line here.
  4. Write commands

git init
git remote add origin https://github.com/Euphe/euphe.github.io

Don’t forget to replace the link with the link to your github pages repository
5. Next commands

git add *
git commit -m "initial upload"
git pull origin master --allow-unrelated-histories
git push origin master

  1. Input username/password when prompted
  2. Done!

If at any time you get any errors or suspect something went wrong: just delete the .git hidden file in the folder. Either way your game remains untouched (even though I would suggest making a backup).
Read up on git, you can use that repo to do version control on your game.