An open API service indexing awesome lists of open source software.

https://github.com/angusin/close-combat-calculator

Helper for better creating the stats of units in the Close Combat board game.
https://github.com/angusin/close-combat-calculator

board-game close-combat game wargame

Last synced: about 2 months ago
JSON representation

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

Awesome Lists containing this project

README

        







# 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](https://user-images.githubusercontent.com/8282153/190616161-7bb90fad-56e8-4ba8-867f-47703d74b963.png)

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](https://user-images.githubusercontent.com/8282153/190616187-7075e06d-7400-4873-8434-872006437b05.png)

## Run Locally

Clone the project

```bash
git clone [email protected]:angusin/close-combat-calculator.git
```

Go to the project directory

```bash
cd close-combat-calculator
```

Install the dependencies

```bash
npm install
```

Start the app

```bash
ng serve -o
```

## Build

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