all repos — WarBot2020 @ 56492d3510e181775ae1a37b7fb98dbbebd4c118

Bootleg version of "WorldWarBot 2020" done in Java and without a map.

Update README.md
Bi-Rabittoh andronacomarco@gmail.com
Thu, 04 Apr 2019 13:04:43 +0200
commit

56492d3510e181775ae1a37b7fb98dbbebd4c118

parent

597348eb14ef9f4a20cd87845b8dd43ddc180108

1 files changed, 12 insertions(+), 0 deletions(-)

jump to
M README.mdREADME.md

@@ -10,3 +10,15 @@ - 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. + +# Data collection +The program reads coordinates and populations from data.txt in this format: +``` +country-name(String with no spaces) population(int) latitude(double) longitude(double) +``` +For example: +``` +Barcellona-Pozzo-di-Gotto 41293 38.1487398 15.2113962 +``` + +I will soon be working on a version without a population filter.