zac-garby / solar-system

A strategy/simulation game.
MIT License
33 stars 17 forks source link

Better planet generation #8

Open zac-garby opened 7 years ago

zac-garby commented 7 years ago

This is quite an easy one :)

Currently, the planet generation is a bit terrible. All the properties are generated completely regardless of the other ones, and the name generation, while sometimes working well, is sometimes bad and/or unpronounceable.

Some fixes I've thought of are:

thecouchcoder commented 7 years ago

I would like to implement food growth based off the biodiversity factor that I just sent a PR for.

thecouchcoder commented 7 years ago

I'm experimenting with Markov Chains right now because I had never heard of them. If I get something working, I'll let you know.

zac-garby commented 7 years ago

Cool :) A vague idea I had was basically to have a markov chain which, for each letter, contains the probability of choosing one of the other letters. I think you could quite easily generate one, given lots of nice-sounding planet names.