Skip to content

A static web page to help you figure out how to beautify honors in the Guild War event. (古戦場の貢献度調整)

License

Notifications You must be signed in to change notification settings

qq88976321/gbf-beautify-honors-web

Repository files navigation

Granblue Fantasy - Beautify Honors (Web)

vue version bootstrap-vue version stage license

Live demo

A static web page to help you figure out how to beautify honors in the Guild War event. (古戦場の貢献度調整)

demo_sample

Table of contents

Notice

This project is made by vue2 and used to demonstrate beautifying honors using a static website. It is also a web version of my gbf-beautify-honors cli python project.

However, I am new to front-end development, so the project is currently in early stage. There are still many things to improve and any issues are welcome!

How it works

We can formulate this problem as an integer programming problem and solve it using the glpk.js.

Is this case, we use an integer variable hi to represent the exact honor earned from battle i (i can be Eyeball N, Meat Beast EX+, ...). And use another integer variable ni to represent the number of battles we need to fight for the battle i.

We want to get exact honors with minimum number of battles (more efficient), so the corresponding integer programming problem is:

$$Minimize\ \displaystyle\sum_{i} n_i$$ $$Subject\ to\ \displaystyle\sum_{i} h_i\times n_i$$

Additionally, we can add additional constraints to the integer variable ni to limit the maximum number of each battle. e.g.,

$$0 \leq n_i \leq 10$$

How to develop

Project setup

npm install
npm run prepare

Compiles and hot-reloads for development

npm run serve

Compiles and minifies for production

npm run build

Lints and fixes files

npm run lint

Unit test

npm run test:unit

Release

npm run release -- --release-as patch
npm run release -- --release-as minor
npm run release -- --release-as major

Customize configuration

See Configuration Reference.

About

A static web page to help you figure out how to beautify honors in the Guild War event. (古戦場の貢献度調整)

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published