Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

jepurdee

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jepurdee

A full featured clone of a quiz show game. Made for family gatherings, meetups, business meetings, educational use, and more.

  • 1.1.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

jepurdee

A full featured clone of a quiz show game. Made for family gatherings, meetups, business meetings, educational use, and more.

Development Notes

Picture Image Class Idea

When adding an image to an answer, there is some information that needs to be saved. This is done in order to successfully export the image along with the game JSON.

For this reason, I am thinking I should create an image class.

Class Image {
  this.type: 'png';
  this.name: '03';
  this.url: 'blob:http://localhost:8080/38a653ba-0ed5-49af-97b1-3f3ba6fd208a'
}
Image Creation (via AnswerEditor)
  • Add image type, name, and url to vuex state.
  • Add image data (arrayBuffer) to local forage.
Image Loading (via Answer)
  • Load image type, name, and url from vuex state.
  • Render URL in tag.
Importing (via ImportGameBadge)
  • Read assets.json to determine image name and type.
  • Read image data (arrayBuffer) and store in local storage.
  • Derive URL from arrayBuffer and store in vuex state.
Exporting (via GameBadge)
  • Read vuex state to get image name, type (png|jpg|gif), and url
  • Create an assets.json file with data defining image type, image name.
  • Write assets.json and ${image.name}.${image.type} to assets/ in the zip file

FAQs

Package last updated on 23 Nov 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc