davewx7 / citadel

A turn based strategy game based on the Anura engine
Other
98 stars 25 forks source link

Randomize starter decks presentation #167

Open ghost opened 6 years ago

ghost commented 6 years ago

Building up on https://github.com/davewx7/citadel/pull/166.

Acolyte

Cheers and Regards,

ghost commented 6 years ago

This was discussed in the Discord server and is on hold because of user experience reasons, so apparently no reason to have it open.

But please do not close yet. I have an idea for making this acceptable.

ghost commented 6 years ago

With this change today decks are presented with a (one) position rotation from the position they were in December.

Formula is ($CURRENT_YEAR * 12 + $CURRENT_MONTH) % $ROTATIONS_CT.

In December there was no rotation because of (2017 * 12 + 12) % 8 equals 0.

Today (2018 * 12 + 1) % 8 equals 1.

No one can complain of AEther and Entropia to be favored over Gaea and Materia.

ghost commented 6 years ago

Using https://github.com/anura-engine/anura/blob/5e14b8d698bce4f2c1fa30ec8e437d78b4e7fa37/src/formula_function.cpp#L690-L710 now.