lucaswhitaker22 / bash_cafe

A text-based business simulation game written in Bash where players run a coffee shop.
https://lucaswhitaker22.github.io/bash_cafe/
Apache License 2.0
13 stars 1 forks source link

Improve Weather Factors (Add Weather Conditions) #2

Open lucaswhitaker22 opened 5 years ago

lucaswhitaker22 commented 5 years ago

Add more to the weather. Currently, the only things influencing sales is the temperature. Instead of using temperature to influence customer count, other weather conditions should be the deciding factor. Cloudy, Raining, Sunny etc

Each weather condition will be given a "score", the higher the score the more visitors. The score increases weather becomes more desirable (since people typically walk around outside more on a nice day).

For example, @markjames-eng gave the example (all numbers are arbitrary) of :

markjames-eng commented 5 years ago

Would you be okay with having weather scores be consistent based on a condition, instead of the actually temperature? (all numbers are arbitrary) So if it was nice sunny day (21-26) then the score would be 5 If it was a hot sunny day (27-34) then the score would be 4 Cloudy( 17-20) then the score would be 5 Storming (12-16) then the score would be 2

and so on.

This would make the actual temperature just cosmetic, the real work would be done by the conditions (based on their ranges).

Just an idea!

lucaswhitaker22 commented 5 years ago

Would you be okay with having weather scores be consistent based on a condition, instead of the actually temperature? (all numbers are arbitrary) So if it was nice sunny day (21-26) then the score would be 5 If it was a hot sunny day (27-34) then the score would be 4 Cloudy( 17-20) then the score would be 5 Storming (12-16) then the score would be 2

and so on.

This would make the actual temperature just cosmetic, the real work would be done by the conditions (based on their ranges).

Just an idea!

That is a great idea! May even make calculation sales easier. Will add this to the issue. Thanks!