Coder Social home page Coder Social logo

hackweek-trialbytriage's Introduction

Trial by Triage

Trial by Triage is a fun accessory to the Sentry platform that was made as a Hackweek project in 2022. It is a JRPG-styled video game where the enemies are based on issues from the player's Sentry feed.

Licensing

This game was produced using RPG Maker MZ, a product of Gotcha Gotcha Games Inc., and incorporates assets that are ©Gotcha Gotcha Games Inc./YOJI OJIMA 2020. Their use and distribution are governed by the RPG Maker MZ User License Agreement.

All content produced by Sentry for this project is available under the MIT License, as specified in individual source files.

How to Play

The game is hosted at https://tbt.sentry.gg/ and can be played locally.

The game's code needs to communicate with a remote Sentry API in order to function. It cannot make a cross-origin call directly to the Sentry API, so instead it uses a proxy server. To test or play the game from local source, run the proxy server with the command

node server.js

and point your browser at http://localhost:5000/ or the correct port.

Using Chrome is recommended. The core scripts exported from RPG Maker seem to have a bug when the game is played in Firefox, where it displays the message: "Your browser does not allow to read local files." This failure mode is meant, if you load the base HTML page from local storage, to indicate that the browser's policy is preventing the game from loading other local files as assets. As far as we can tell, something about the asset loading order causes the game to throw this error spuriously, and isn't specific to Trial by Triage or the way we're hosting it.

Security Considerations

If you input a Sentry API key to Trial by Triage, both it and the issue data is downloads are stored in plaintext and stored as part of your saved games, including autosaves. Saved game data is stored as cookies on the tbt.sentry.gg or localhost domain, as applicable. Never input an API key on a shared or untrusted device. However, Trial by Triage should be safe to play on a private device, especially with local disk encryption.

To reduce risk, use an API key with no permission scopes other than event:read.

Project Pages

hackweek-trialbytriage's People

Contributors

davidenwang avatar oioki avatar rjo100 avatar ryanskonnord avatar vpandiarajan20 avatar

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.