There are two versions of the calculator: An online version and a Desktop App.
No download, no install. Just calculate: Anno 1800 Calculator
The Desktop App (for Windows, MacOS and Linux) does not require a Internet connection once downloaded.
2022-11-11v0.4.13Bump electron from 15.5.5 to 18.3.7 PR #712022-10-24v0.4.12Update dependencies from dependabot (inter alia bump electron to 15.5.5)2022-03-19v0.4.11Update dependencies using yarn2022-03-10v0.4.10Show version info in About view2022-03-10v0.4.9Bug fixes and performance improvements...2022-03-09v0.4.8Switch ordering in sidebar: first Demands second Chains2020-01-02v0.4.7Fix layout of production chains2020-01-02v0.4.6Refactored Vuex - thx to Cahllagerfeld2020-01-01v0.4.5Replace greedy Travis-CI with GitHub Actions! 🚀 Fix some smaller issues2020-11-06v0.4.4Fix builds for Windows, Linux and MacOS2020-11-04v0.4.4Hot fix demands calculation (population, not residence) and correct "productionTime" of "Coal Mine"2020-11-03v0.4.3Finally add all production chains (by now)2020-11-03v0.4.2Add population demands for population of all DLCs, by now2020-11-02v0.4.1Working options in production chains & lots of fixed bugs2020-11-02v0.4.0Update dependencies to latest version - i.a. Vuetify 2, giving full facelift, bug fixes, ...2020-10-20v0.3.0Merge pull request #24 dependabot, fixing critical issue in electron2020-05-11v0.3.0Load production layouts from Anno 1800 Wiki2020-05-11v0.2.0Smaller changes (meta info, UI enhancements, ...)2019-02-08v0.1.0Basic features working 🎉🎉🎉
We developed this project completely in our free time so please dont expect too much from the documentation. If you have questions, feel free to contact us via mail, issue (especially bugs and errors), PR etc.
The technical documenation is done in the Wiki of this repo. Among others there is CI/CD via Travis-CI and the data structure described.
# Get Project
git clone https://github.com/suhrmann/Anno-1800-Calculator.git
cd Anno-1800-Calculator
# Install dependencies
npm install
# Compile and hot-reload for development
npm run serve
# Build desktop application with electron-buiilder.
npm run electron:buildContinuous Integration (CI) and Continuous Delivery (CD) use GitHub Actions. The workflow scripts are located in .github/workflows.
- The CI script
build.ymlbuilds the website on ALL pushs and pull requests - The publish (CD) scripts
release-electron.ymlto publish Electron on GitHub Releases andrelease-gh-pages.ymlfor Web on GitHub pages react to Git tags"v*".
- Update
versioninpackage.jsone.g."version": "0.4.5" - The publish scripts react to Git tags
"v*", so to publish a release, tag your commit and push both e.g.:git tag -a v0.4.5 -m "New version v0.4.5"- commit and tag (note the version is prefixedv)git push && git push --tagsand push (don't forget the tags!)
Core Technologies:
- Electron - Build cross platform desktop apps
- Vue.js - Progressive JavaScript Framework, really helpful for single-page applications
- Vuetify - Material Design Component Framework for Vue.js
Dependencies
- vuex - state management pattern + library for Vue.js
- vue-tree-chart - Vue.js component to display tree chart, really awesome ⭐
- v-tooltip - highly customizable tooltips
- vue-router - Official Router for SPAs created with Vue
This project is licensed under MIT License.