Giter Site home page Giter Site logo

suhrmann / anno-1800-calculator Goto Github PK

View Code? Open in Web Editor NEW
11.0 4.0 2.0 38.38 MB

A production chain calculator for Anno 1800

Home Page: https://suhrmann.github.io/Anno-1800-Calculator/

License: MIT License

JavaScript 28.16% HTML 0.63% Vue 71.21%
calculator vue desktop anno 1800 vuetify

anno-1800-calculator's Introduction

Anno 1800 Calculator

Build Status


There are two versions of the calculator: An online version and a Desktop App.

Online Calculator

No download, no install. Just calculate: Anno 1800 Calculator

Download App

The Desktop App (for Windows, MacOS and Linux) does not require a Internet connection once downloaded.

Download here


Changelog:

  • 2022-11-11 v0.4.13 Bump electron from 15.5.5 to 18.3.7 PR #71
  • 2022-10-24 v0.4.12 Update dependencies from dependabot (inter alia bump electron to 15.5.5)
  • 2022-03-19 v0.4.11 Update dependencies using yarn
  • 2022-03-10 v0.4.10 Show version info in About view
  • 2022-03-10 v0.4.9 Bug fixes and performance improvements...
  • 2022-03-09 v0.4.8 Switch ordering in sidebar: first Demands second Chains
  • 2020-01-02 v0.4.7 Fix layout of production chains
  • 2020-01-02 v0.4.6 Refactored Vuex - thx to Cahllagerfeld
  • 2020-01-01 v0.4.5 Replace greedy Travis-CI with GitHub Actions! ๐Ÿš€ Fix some smaller issues
  • 2020-11-06 v0.4.4 Fix builds for Windows, Linux and MacOS
  • 2020-11-04 v0.4.4 Hot fix demands calculation (population, not residence) and correct "productionTime" of "Coal Mine"
  • 2020-11-03 v0.4.3 Finally add all production chains (by now)
  • 2020-11-03 v0.4.2 Add population demands for population of all DLCs, by now
  • 2020-11-02 v0.4.1 Working options in production chains & lots of fixed bugs
  • 2020-11-02 v0.4.0 Update dependencies to latest version - i.a. Vuetify 2, giving full facelift, bug fixes, ...
  • 2020-10-20 v0.3.0 Merge pull request #24 dependabot, fixing critical issue in electron
  • 2020-05-11 v0.3.0 Load production layouts from Anno 1800 Wiki
  • 2020-05-11 v0.2.0 Smaller changes (meta info, UI enhancements, ...)
  • 2019-02-08 v0.1.0 Basic features working ๐ŸŽ‰๐ŸŽ‰๐ŸŽ‰

Developers

Documentation [Wiki]

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.

Project setup for developers

# 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:build

CI / CD

Continuous Integration (CI) and Continuous Delivery (CD) use GitHub Actions. The workflow scripts are located in .github/workflows.

  • The CI script build.yml builds the website on ALL pushs and pull requests
  • The publish (CD) scripts release-electron.yml to publish Electron on GitHub Releases and release-gh-pages.yml for Web on GitHub pages react to Git tags "v*".

Publish a release:

  1. Update version in package.json e.g. "version": "0.4.5"
  2. The publish scripts react to Git tags "v*", so to publish a release, tag your commit and push both e.g.:
    1. git tag -a v0.4.5 -m "New version v0.4.5" - commit and tag (note the version is prefixed v )
    2. git push && git push --tags and push (don't forget the tags!)

Used Technologies

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

Legal

This project is licensed under MIT License.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.