I'm trying to make a path by drawing from a pre-defined set of tiles, each of which are of a certain "type". However, I want to weight the randomization so that each "type" starts off with an equal chance, but certain conditions will cause the weighting of a particular "type" (such as having been chosen very often) to either increase or decrease.
I'm not very familiar with randomization algorithms. Are there any pre-existing algorithms that are a good match for my setup?
Aucun commentaire:
Enregistrer un commentaire