Skip to content

angusin/close-combat-calculator

Repository files navigation

Close Combat - Stats Calculator

This app helps us creating better stats for the units in the Close Combat board game. By changing the Dice Type, the Dice Number and the Defense (armor) of the objective, we can better estimate the average wound that an attack will cause, changing the stats of the attacker for a better leveling between all of them.

Demo

You can view a demo here: http://close-combat-calculator.modelbrush.com

Tech Stack

Client: Angular 14 (https://angular.io/)

Styles: Halfmoon (https://www.gethalfmoon.com/)

Visualization: Chart.js (https://www.chartjs.org/) and ng2-charts (https://valor-software.com/ng2-charts/)

Toasts: Angular Toastr (https://ngx-toastr.vercel.app/)

Screenshots

You can tweak with 3 different attacks at the same time, changing all values. The chats will update at real time:

Screenshot 2022-09-16 at 11 30 34

In the bottom part you can see a big chart with all the 3 attacks merged, for a better visualization and comparison between them:

Screenshot 2022-09-16 at 11 29 41

Run Locally

Clone the project

  git clone git@github.com:angusin/close-combat-calculator.git

Go to the project directory

  cd close-combat-calculator

Install the dependencies

  npm install

Start the app

  ng serve -o

Build

Run ng build to build the project. The build artifacts will be stored in the dist/ directory.

About

Helper for better creating the stats of units in the Close Combat board game.

Topics

Resources

Stars

Watchers

Forks