https://github.com/bearloga/mua3
Marvel Ultimate Alliance 3 team optimizer
https://github.com/bearloga/mua3
Last synced: 12 months ago
JSON representation
Marvel Ultimate Alliance 3 team optimizer
- Host: GitHub
- URL: https://github.com/bearloga/mua3
- Owner: bearloga
- License: other
- Created: 2019-09-01T18:30:36.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-10-02T02:09:10.000Z (over 6 years ago)
- Last Synced: 2025-05-15T13:09:42.150Z (about 1 year ago)
- Language: R
- Homepage: https://bearloga.shinyapps.io/mua3-demo/
- Size: 15.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Marvel Ultimate Alliance 3 team optimizer
## Dependencies
```R
install.packages(c(
"magrittr", "janitor", "assertthat",
"dplyr", "tidyr", "purrr", "readr",
"shiny", "shinythemes", "DT"
))
```
## Setup
1. Run [misc/data.R](misc/data.R) first to populate mua3-app/data directory with the required rds files.
2. `shiny::runApp("mua3-app")`
## Structure
- The aforementioned data script processes [raw data](misc/raw/)
- [utils.R](mua3-app/utils.R) has the following functions:
- `calculate_bonuses` accepts a character vector of **4** names and outputs a data frame of stats and their bonuses
- `potential_bonuses` accepts a character vector of **3** names and runs `calculate_bonuses` with each of the remaining heroes
- `produce_recommendations` accepts a character vector of **3** names and produces recommendations based on their potential bonuses
## Licensing
*Core* code in data.R and utils.R is licensed under MIT. The *app* code in ui.R/server.R is licensed under GPL-3.