From 33efe57ba46617b03618184a2e7b0393c3f1220b Mon Sep 17 00:00:00 2001 From: Haoming Yin Date: Mon, 6 Mar 2017 18:40:39 +1300 Subject: [PATCH] Added updated config file within team name, velocity and race-size. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Changed ‘teams’ to an array containing maps of each team. In each team map, it contains team name and boat velocity. - Added race size which represents how many boats would compete during a race. #story[7] #story[8] --- doc/examples/config.json | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 doc/examples/config.json diff --git a/doc/examples/config.json b/doc/examples/config.json new file mode 100644 index 00000000..5b6474bd --- /dev/null +++ b/doc/examples/config.json @@ -0,0 +1,13 @@ +{ + "race-name": "AC35", + "time-scale": 1, + "race-size": 2, + "teams": [ + {"team-name": "Oracle Team USA", "velocity": 20.9}, + {"team-name": "Artemis Racing", "velocity": 18.3}, + {"team-name": "Emirates Team New Zealand", "velocity": 21.5}, + {"team-name": "Groupama Team France","velocity": 19.9}, + {"team-name": "Land Rover BAR", "velocity": 17.6}, + {"team-name": "SoftBank Team Japan", "velocity": 16.6} + ] +} \ No newline at end of file