pls-games

1.0.0 • Public • Published

Installation Guide

yarn

Boilerplate template setup for new Game (Refer gameSetupInit.sh for additional details)

  1. sh gameSetupInit.sh [-q] [-i] gameName
    1. -i Flag to setup ItemType template folder for your game.
    2. -q Flag to setup QuestionType template folder for your game.
    3. -qi | -iq DO NOT USE, Not preferred to create both type templates together"

Build game in watch mode

  1. You can try any commands from below to build in watch mode :
    1. npm run build:watch -- --id=com.playpower.itemTypes.bubblePopNormalFlow
    2. npm run build:watch -- --prismicId=W-khzxIAACoAfMl8
    3. npm run build:watch -- --contentfulId=4vNqV8re48WMyAC6Go2EI8

Run Game

  1. npm start

Generate Content

  1. Example - For generating content using input file "sample1.json"
    1. yarn generate:content --file=sample1
  2. Example - For generating preview URL using input file "sample1.json"
    1. yarn generate:content --file=sample1 --save

URL TO Compress Images is:

  1. https://imageresize.org/compress-images

UCSD URL Params

  1. stateful values: "true" -- Everything stateful "false" -- Not stateful
  2. userId
  3. mode values: "dev" -- by default "QA" "prod"

/pls-games/

    Package Sidebar

    Install

    npm i pls-games

    Weekly Downloads

    3

    Version

    1.0.0

    License

    MIT

    Unpacked Size

    25.8 MB

    Total Files

    596

    Last publish

    Collaborators

    • playpower