zengm-games / zengm

Basketball GM (and other ZenGM games) are single-player sports management simulation games, made entirely in client-side JavaScript.
https://zengm.com
Other
361 stars 131 forks source link

Deploy website onto GitHub pages? #441

Closed osaka-lol closed 1 year ago

osaka-lol commented 1 year ago

Hi, I was wondering if you could make it possible for like (basketball gm for example) for it to be deployable via GitHub pages from coding purposes or just work around for school filter system

dumbmatter commented 1 year ago

It's already possible... if you follow the instructions to build it from the README, you get static HTML/CSS/JS files you can deploy anywhere (only catch would be ctrl+r and bookmarking pages other than root wouldn't work, but you could just navigate from the main page every time).

However do be aware of the license https://github.com/zengm-games/zengm/blob/master/LICENSE.md - you are not allowed to deploy publicly available copies of the games. If it's somewhere you put password protection on it, or maybe a unique URL that only you know, then it's okay. Otherwise, no. Because I don't want to compete with a bunch of clones of my games with on ads. Please respect that, it's what allows me to make my code available to everyone.