Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hosting on github.io #23

Open
mikkokotila opened this issue Sep 11, 2018 · 5 comments
Open

hosting on github.io #23

mikkokotila opened this issue Sep 11, 2018 · 5 comments

Comments

@mikkokotila
Copy link

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!

@ncase
Copy link
Owner

ncase commented Sep 11, 2018

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!

@mikkokotila
Copy link
Author

mikkokotila commented Sep 11, 2018

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:

  1. create a fork from ncase/wbwwb

  2. set the github pages source for mikkokotila/wbwwb to master

@mikkokotila
Copy link
Author

Any thoughts on this?

@ncase
Copy link
Owner

ncase commented Sep 21, 2018

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!

@briced
Copy link

briced commented Sep 23, 2018

Hi,
I fixed it in #25, It's a problem with a translation where all lines start with a '+'.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants