Skip to content

EsauRoiDesBarbus/EclipseBoardgameWebApp

Repository files navigation

WebApp for a Eclipse board game calculator

This is a web application for a board game calculator. The game is called Eclipse and it is a 4X game (eXplore, eXpand, eXploit, eXterminate). The game is played on a hexagonal grid and the players have to manage their resources, research new technologies, build ships and conquer new territories.

For a given ship battle, this calculator gives the win chance, and the survival chance for each ship. The calculator doesn't use a Monte Carlo method to simulate the battle, but it uses advanced tools of decision theory known as Bellman value function programming to compute win chance.

The website is hosted on a Flask server and you can access it here.

How to install

To install the web application, you need to have Node.js installed on your computer. Then, you can install the dependencies with the following commands:

npm install

How to run

To run the web application, you can use the following command:

npm run dev

This command will start a development server and open the web application in your default browser.

How to build

To build the web application, you can use the following command:

npm run build

This command will create a dist folder with the web application ready to be deployed.

Thanks to

  • React for the web application framework
  • Vite for the web application bundler
  • React hook form for the form management
  • D3.js for the data visualization

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published