# Gcalc Gcalc is a game probability calculator. Gcalc is not a gacha simulator but more of a generic probability calculator. Consequently gcalc's goal is not about getting a percentage from given try counts, but calculate expected effects of the "tries". Such expectation can be used to decide how many tries should be given to users, assess the economical effect that game events might occur and so on and so forth. [Changes](./docs/change.md) ## Usage ```bash # Basic gcalc # SUBCOMMANDS: # cond Conditional calculation # qual Conditional calculation but only prints result # range Prints range of calculations # reference Create a reference file # option Create an option file # For cond and qual -b, --budget Budget of total cost -C, --cost Cost per try # For range -c, --count Counts to execute -S, --start Starting index to print # Global option --constant Constant value to be added into probability -f, --format Table format(csv|console|gfm) --fallback Set csv value fallback {rollback|ignore|none} [default: none] -h, --help Print help information -l, --column Column mapping --noheader CSV without header -o, --out File to write output -O, --option