Skip to content

Running in Browser #49

@lumi-a

Description

@lumi-a

There are ways (e.g. this, though I spent no time searching for better ways) to run the game in-browser. Hosting could simply be done via github-pages, same way I host my sliding-blocks-game.

  • 👍 Significantly more accessible, people need not clone the repo or even download python
  • 👎 Might impose restrictions, the above link says "You will probably have to change some of your code.", though it doesn't seem to be much work (again, didn't spend much time looking into that yet)
  • 👎 Performance on web is worse, but perhaps not worse enough (in a rust-wasm project of mine, the web-version ran at about half the speed of the local version). Even after implementing web-support, we can always also run it locally for "maximum performance" (whatever that means for Python)
  • Running on web also makes online-multiplayer (peer-to-peer, not server-based) more attractive.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions