Giter VIP home page Giter VIP logo

Comments (6)

AluminumAngel avatar AluminumAngel commented on July 24, 2024 1

I see what you are saying. Encoding the scenario in a URL, to allow sharing, is a very good idea.

from gloom.

AluminumAngel avatar AluminumAngel commented on July 24, 2024

What are the advantages of that approach?

How does your code slot into the functions storeState() and restoreState()?

from gloom.

dieck avatar dieck commented on July 24, 2024

Well, storeState() and restoreState() work only locally in your browser.
The lines above* can be used to export to a (long) string and import from that, to present to the user and thus traverse browsers and computers.

(* They are untested, and maybe not very efficient or elegant, but should do the trick)

I am just setting up a flask environment to take a look at the system myself, maybe I can propose a pull after all

from gloom.

omireault avatar omireault commented on July 24, 2024

This could be used to crowd-source the scenario implementations. You can curate a bookmarked URL list that will load each scenario, room by room. Once someone trustworthy has validated the URL does correspond to the scenario, it can be added under a new Bookmark button or something in the app itself for everyone to use.

from gloom.

AluminumAngel avatar AluminumAngel commented on July 24, 2024

Agreed. This can be a powerful feature. Got me excited enough to pick the project back up again.

I did a test of the naive solution, and unfortunately it resulted in 10K URLs. I've got something more sophisticated working. Need to add validation and clean it up. Soon.

from gloom.

AluminumAngel avatar AluminumAngel commented on July 24, 2024

Great idea! Feature added at fb27077.

Deploying now.

from gloom.

Related Issues (12)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.