MNoya / Element-TD

Element Tower Defense
http://www.eletd.com
64 stars 22 forks source link

Force 4-element on random in co-op #394

Closed WindStrike72 closed 8 years ago

WindStrike72 commented 8 years ago

For the record, Noya suggested this before and I shot it down, but after experiencing pain, pain, and why god why, Master Noya is right, and for selecting random in co-op, prevent it from allowing you to get more than 4 different elements.

MNoya commented 8 years ago

:innocent:

Should 2 player lobbies still be forced to 4-element randoms?

WindStrike72 commented 8 years ago

Yes. I'm actually requesting this cause 5-ele randoms in solo tends to suck. That is, they give it in such an order in most cases that it's bad. 5-ele solo or 2-player can work, but if so, it pretty much has to be all pick.

MNoya commented 8 years ago
Generating 10000 random element sequences:
3-element random sequences: 103 (1%)
4-element random sequences: 9897 (98%)

In single player:

Generating 10000 random element sequences:
3-element random sequences: 1 (0%)
4-element random sequences: 480 (4%)
5-element random sequences: 4313 (43%)
6-element random sequences: 5206 (52%)