decarbonization / android-fonz

A clone of the iconfactory's excellent Freznic game for Android.
Other
2 stars 0 forks source link

Make upcoming piece selection a little more forgiving #5

Closed decarbonization closed 8 years ago

decarbonization commented 8 years ago

Upcoming piece selection is currently implemented using a piece bag and a random number generator. This approach can result in an unreasonable number of the same pieces being vended in a row. Especially earlier in a game, the upcoming pieces should be weighted in favor of the player being able to place them. Some possible improvements:

The current behavior more or less matches Frenzic, but being sabotaged by an RNG is not fun

decarbonization commented 8 years ago

@spencerv: I've added a check to prevent the same pie piece from coming up two times in a row (doesn't apply to piece color, that would be annoying) -- when you have some spare time, would love your input on how it feels game play wise