Update README.md
Bi-Rabittoh andronacomarco@gmail.com
Thu, 04 Apr 2019 15:43:50 +0200
1 files changed,
7 insertions(+),
6 deletions(-)
jump to
M
README.md
→
README.md
@@ -1,15 +1,16 @@
# WarBot2020 Bootleg version of "WorldWarBot 2020" done in Java and without a map. -Usage: ``` -executable.jar soglia_popolazione verbose n_guerre +Usage: <main class> [-hv] [-m=<max_population>] [-n=<n_wars>] [-s=<source_file>] + -h, --help display a help message + -m=<max_population> filter cities for max population (default 50000) + -n=<n_wars> sets number of wars to simulate (default 500) + -s=<source_file> load data from a specific file (default data.txt) + -v only simulate one war (default false) ``` -- soglia_popolazione is an integer (default 12000) -- verbose is a boolean. true gives you the detailed output of a single war, false gives you generic statistics on n_guerre wars (default true) -- n_guerre is the number of wars to simulate (default 500) -The program will load the default values if you don't always put all three parameters. +Watch out for the -v flag! If you don't include it, the program will simulate multiple wars and give you win statistics, so use that if you only want to see a single outcome. # Data collection The program reads coordinates and populations from data.txt in this format: