Commit Graph

9 Commits

Author SHA1 Message Date
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 8109192d7f Add life and people.
10% of habitable planets have life on them and 12 of those have people
on them (named after their star.)
2024-04-15 10:59:49 -07:00
Simon Forman 7219d6b336 capacity 2024-04-14 18:25:42 -07:00
Simon Forman 3d5a490c32 Generate names for the stars.
I kinda like these names.
2024-04-14 16:53:47 -07:00
Simon Forman 52fb54054e Don't make weird id ints.
I thought I could generate names from these but it's just more cruft.
2024-04-14 14:36:23 -07:00
Simon Forman f40d466df1 Generate planets. 2024-04-13 17:39:02 -07:00
Simon Forman ddd68e2cb6 Give the stars large id numbers.
Then when you display them they can be mapped to a deterministic human
readable format, like letters or some Unicode symbols? Name generators?

 🌑 🌒 🌓 🌔 🌕 🌖 🌗 🌘
            
2024-04-13 15:06:32 -07:00
Simon Forman 9ba1c7fb31 Use SQLite rather than Pickle. 2024-04-12 13:21:07 -07:00