Tabletop strategy and war board games can be a lot of fun, but often end up bogged down by the math and calculations required every time a battle breaks out. Tracking all of those enemy kills and dead bodies can be tedious and difficult to do by hand. Imagine the progress that you could make if all the math and time absorbed by battle calculations could be avoided by making use of a simple mobile app.
This project is designed to simplify the process of determining battle outcomes in a large and complex tabletop strategy game our sponser is currently developing. This application will keep track of some global game information and combine that information with some input from a user to perform the calculations and leverage the battle engine algorithms to determine an outcome of a battle quickly and easily. This application will function for different rule sets to simplify the process of crushing your enemies.
We build a cross-platform application which accepts a specifically formatted JSON file according to its API, which then dynamically generates variables such as factions and units according to the board game our sponser has developed. Users can change aspects of the rules using this API. The app will store global variables, player variables, and allow the user to input other information which we then can input to our algoritms. We can then display the algorithm's output to the user.
Titan's Calculator was built using Capacitor, a cross-platfrom native runtime for Android, iOS, and web apps. Using Capacitor, we developed our project entirely in HTML5, JavaScript, and CSS. We parse input JSON files to dynamically create certain elements within our JavaScript and then allow the user to input information that we use in the algorithm, also written in JavaScript.