yarcat / chemistry-lines

Chemistry Lines (game)
1 stars 0 forks source link

Only the longest compound has to be removed #46

Open yarcat opened 12 years ago

yarcat commented 12 years ago

Symptoms

elements("H", "2", "O").removeCompounds("H2O", "H2", "O2", "O"));

How it should work

elements("H", "2", "O").removeCompounds("H2O"));

and nothing else!

soulne4ny commented 12 years ago

Probably duplicates #30.