Commit Graph

8 Commits

Author SHA1 Message Date
Simon Forman be64b90652 Minor cleanup. 2024-04-16 16:06:06 -07:00
Simon Forman de1a55de5e Only reproduce on world in home stellar system. 2024-04-15 20:12:25 -07:00
Simon Forman 54bfd924b8 Blacken some code. 2024-04-15 15:32:16 -07:00
Simon Forman 8dd8ed9bca Move SQL tables into data module.
I think it makes more sense to be able to see them together in one
place, eh?
2024-04-15 15:19:42 -07:00
Simon Forman 1eaf8d5e9b A crude but servicable growth cycle.
Bio grows, populations consume bio and grow or consume too much and
crash.  THat could set up the first main game dynamic or challenge:
don't let your people eat everything and die.

How to draw off population?  Send them to the stars of course!

We can worry about controlling the growth rate later (either directly
under user control or affected indirectly though factors the user can
control? Something else?)

Remember that by Insect Law populations can only reproduce on their home
worlds!  That constraint isn't in the DB nor the "server" code yet
though.
2024-04-15 13:40:22 -07:00
Simon Forman 9ba1c7fb31 Use SQLite rather than Pickle. 2024-04-12 13:21:07 -07:00
Simon Forman 25e5723661 copyright notice 2024-04-11 21:58:21 -07:00
Simon Forman 9b59fee1fb Separate state generation from UI.
Now the UI loads instantaneously (the starfield takes noticable time to
generate with the Poisson process.)
2024-04-11 21:46:43 -07:00