yarcat / chemistry-lines

Chemistry Lines (game)
1 stars 0 forks source link

Find distribution of atoms and coefficients for good gameplay. #13

Open soulne4ny opened 12 years ago

soulne4ny commented 12 years ago

Currently, random places too much coefficients on the field. Review after #9 and #11.

soulne4ny commented 11 years ago

I've just got an idea to match distribution of elements on the field with distribution of terminals in the formulas. And add new elements in a way to make them more or less the same. However, this can lead to domination of most-frequent terminals.

yarcat commented 11 years ago

I kinda like one of your previous ideas about creating a buffer of several compounds, e.g. [H, 2, S, O, 4, K, Mn, O, 4, ....] and then just dropping elements from this buffer. This would guarantee that we always throw really compounds (maybe we can shuffle it a bit).

Let's discuss this.