hosting on github.io
mikkokotila opened this issue · 5 comments
Do you have an instruction for making the game work as a github page. Similar to how claycoffee is doing it > https://claycoffee.github.io/wbwwb/
Thanks a lot for the amazing game!
To turn on Github Pages, go to the ⚙️Settings tab on your forked repo, scroll down to "GitHub Pages", then set as the source its master branch! Your game URL should then be at mikkokotila.github.io/wbwwb
More details about Github Pages here: https://pages.github.com/ Many thanks!
Thanks. I did try that but it does not work. For some reason I just get a black screen:
https://mikkokotila.github.io/wbwwb/
The steps I followed is:
-
create a fork from
ncase/wbwwb
-
set the github pages source for
mikkokotila/wbwwb
to master
Any thoughts on this?
Hi! Sorry, got busy the last week or so (and my inbox is a mess). The problem seems to be that textStrings.js
is broken: https://github.com/ncase/wbwwb/blob/master/js/textStrings.js I must have pulled a translation with improper JSON formatting. Shucks. I'll fix that eventually, but in the meantime, on your rep, you can delete every textString object that's not the language you want, then set var textStrings = textStrings_[the language you want]
at the end. Good luck!