AugustMiller / circle-calculator

The result of playing PUBG custom matches every Friday night since 2019 with @notthatwillsmith

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Circle Calculator

A crude tool for estimating the effects of circle settings in PUBG Custom games.

Development

This is only set up to work in modern browsers with support for Javascript modules. There is no build or transpile step!

Templating

However, I did choose to use Twig for the HTML, so you'll need to:

$ npm install
$ npm run watch

This will generate an index.html file in the docs directory, and continue to watch for changes to the template.

Note about Modules

If you change any "data" files imported by the build script (i.e. maps.js), you'll have to terminate + re-start the watcher. There are probably some bundlers or task runners that are capable of restarting, but I can't be arsed to set something like that up.

Deployment

The entire docs directory can be uploaded to a server at any time! It's also automatically published to GitHub Pages, here.

Docker?

There's a docker-compose.yml file, so if you don't have a web server installed, just run docker-compose up in the project directory. This is probably not necessary, as all the paths are relative to index.html and should work over the file protocol just as easily.

🌳

About

The result of playing PUBG custom matches every Friday night since 2019 with @notthatwillsmith


Languages

Language:Twig 85.0%Language:JavaScript 15.0%