Skip to content

CCIP-App/CCIP-Puzzle-Chocolate

Repository files navigation

CCIP-Puzzle-Chocolate

Rafactoring project from CCIP-Puzzle-Bueno

How to use it (Deploy Guide)

Prepare configration file for puzzle game

There will be two way to prepare configration:

  1. Manually create json file like following format
{
  "confName": "OPass",
  "title": {
    "zh-TW": "大地集章",
    "en": "Rewards"
  },
  "description": {
    "zh-TW": "大地遊戲說明文字",
    "en": "Booth reward activity description"
  },
  "bingoPattern": "",
  "booths": [
    {
      "isBonus": true,
      "significant": "c",
      "slug": "opass",
      "displayText": {
        "zh-TW": "OPass 快速通關",
        "en": "OPass Check-in"
      },
      "description": {
        "zh-TW": "OPass 快速通關開發團隊",
        "en": "Develop team of OPass app."
      },
      "imageUrl": "https://avatars0.githubusercontent.com/u/24525301?s=200&v=4",
      "point": 0
    }
  ]
}
  1. Using google separeatesheet template and converting script writing on node.js

Using CCIP-App/CCIP-Puzzle-Config-Generator-Chocolate

More detail about configuration see Configuration file

Set project configuration and build

Modify config/project.json, given values for API_URL with an base url for OPass server side and for configURL with an URL point to configuration file which generated on previous step.

Then run npm run build to build project and deploy everwhere you want to deploy

Configration file

TBC

Development

Install dependency

npm run install

Compiles and hot-reloads for development

npm run serve

Compiles and minifies for production

npm run build

Lints and fixes files

npm run lint

Customize configuration

See Configuration Reference.

About

Puzzle game for Conference on Chocolate Ver. by OPass Team

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •