Admin
Quiz: Which city has the best weather
May 31, 2012 at 10:49PM View BBCode
I'm starting to test the new "neutral city" code on my test server but I thought I would look at the routine which decides which city has the best weather.
Scores are based on temperature, wind and chance of rain/snow. So let's see how my formula matches to your human eyes and football sensibilities:
Put these cities in order, from top to bottom, with the top having the best weather to play in:
City A: 57 degrees, 60% chance of rain, 9MPH wind
City B: 31 degrees, 10% chance of snow, 3MPH wind
City C: 45 degrees, 0% chance of rain, 12MPH wind
City D: 24 degrees, 15% chance of snow, no wind
City E: 64 degrees, 40% chance of rain, 14MPH wind
City F: 48 degrees, 20% chance of rain, 10MPH wind
Thanks!
Chris
redcped
May 31, 2012 at 11:54PM View BBCode
C
F
B
D
E
A
(Admin note: 5,2.5,10 - Chris)
[Edited on 6-1-2012 by Admin]
Fulla
June 01, 2012 at 12:36AM View BBCode
B
D
C
F
A
E
(Admin note: 5,2,12 - Chris)
[Edited on 6-1-2012 by Admin]
EdSales87
June 01, 2012 at 02:35AM View BBCode
Its pretty tough since none of them seem ideal.
B
D
F
C
E
A
(Admin note: 5, 2.2, 13.5 -Chris)
[Edited on 6-1-2012 by Admin]
Hamilton2
June 01, 2012 at 02:51AM View BBCode
C
B
D
F
E
A
(Admin note: 5, 2.5, 10.75 -Chris)
[Edited on 6-1-2012 by Admin]
skycoyote
June 01, 2012 at 02:52AM View BBCode
B
D
C
F
A
E
(Admin note: 5,2,12 - Chris)
[Edited on 6-1-2012 by Admin]
RichNYC1
June 01, 2012 at 02:52AM View BBCode
C
D
F
B
A
E
But I would take 60 and sunny with a light breeze over any of these options:saint:
(Admin note: ?, ?, ? -Chris)
[Edited on 6-1-2012 by Admin]
skycoyote
June 01, 2012 at 02:54AM View BBCode
I'd prefer 45, sunny and a light breeze. A chill in the air is good football weather.
Admin
June 01, 2012 at 03:21AM View formatted
You are viewing the raw post code; this allows you to copy a message with BBCode formatting intact.
Okay, the way the code currently works is:
A
E
B
D
F
C
(5, 1, 12)
The numbers in parentheses I've added to your posts are multipliers, which indicate the priority, in order, of temperature, precipitation and wind. Applying those multipliers to the formula gets closest to the orders you all indicated. Obviously I am not rating precipitation highly enough.
The actual (current) formula is (temp*5)-(precip*1)-(wind*12); the city with the highest score gets the game.
Looks like just changing precipitation to multiply by 2 instead of 1 will get the game more in line with everyone's thoughts.
I know a lot of these were toss-ups, but precipitation showed a clear trend.
Thank you all!
Chris
redcped
June 01, 2012 at 04:20AM View BBCode
You could simplify the whole thing and create a building called SimDome and play in 72 degrees with no weather impact. I'm not saying I would want it, but it could be an option for leagues to turn on and have a weather-neutral title game if they want it.
Admin
June 01, 2012 at 04:27AM View BBCode
Originally posted by redcped
You could simplify the whole thing and create a building called SimDome and play in 72 degrees with no weather impact. I'm not saying I would want it, but it could be an option for leagues to turn on and have a weather-neutral title game if they want it.
I do have dome support in the game already, there's just no way to select a dome yet. If I end up enabling domes, no doubt at least one city will have one and get picked, but I could add an option to force it. Domes are all 65 degrees with no wind.
Either way I had to write much of the same code, which was a way for the game to use conditions other than that in the city of the home team.
Chris
Pages: 1