/backpack-battles-planner

Primary LanguageTypeScriptGNU Affero General Public License v3.0AGPL-3.0

Backpack battles planner

Getting Started

Install Node.js

Using some kind of node version manager, install LTS:

nvm install lts
nvm use lts

Install dependencies

Using NPM, install dependencies:

npm install

Assets

Running the planner requires assets from the game/presskit. You can find the presskit here: (Presskit on github.io)[https://playwithfurcifer.github.io/backpack-battles-presskit/]. Extract it to /public, so that it contains at least Background/Shop.jpg and the whole folder Items/. Keep the other files, too, in case more assets are used in the future! Structure should be something like:

root
│   README.md
│   ...
│                   
├───public
│   │   
│   ├───Background
│   │       Shop.jpg
│   │       
│   └───Items
│           AceofSpades.png
│           AcornCollar.png
│           ...
│
└───src
    └───app
            Board.tsx
            ...

Running

npx next dev

Deployment

Static

Uncomment output: 'export' from next.config.js, then run

npx next build