Pushing all changes

This commit is contained in:
2025-12-19 09:16:48 -07:00
parent b8f54b44a3
commit 4737531805
7 changed files with 105 additions and 13 deletions
+34 -10
View File
@@ -12,7 +12,8 @@ bonuses. Some can produce ships faster, others will produce more resources and
in others you can find bonuses for different kinds of ships. I want to make it
so that you can also upgrade the planets to improve the value of them.
The maximum player count in a game will be 20 however I want this to be scalable.
The maximum player count in a game will be 20 however I want this to be
scalable.
# Thoughts:
@@ -30,7 +31,10 @@ gone. This means that the worlds need to be persistent.
As a follow up that means that each world will be always running. This means
that if there is a main loop for the game it should be very lightweight so that
it does not consume massive amounts of resources.
it does not consume massive amounts of resources. Another thing that I want to
have is that the game speed will change based on the number of players
online. For example, if there are 4 players in the game and all 4 are active I
want to have the game move faster so that they can play together better.
I think that each universe should be randomly generated that way the players
have to explore it.
@@ -42,11 +46,16 @@ Here are the resources that I am thinking of for now:
- Food
- Metal
- Fuel/energy
- Crystals
- Galaxy Credits (Universal money)
How do we have resources travel be twee planets? I am not sure yet. Maybe have
How do we have resources travel be tween planets? I am not sure yet. Maybe have
another type of ship called a transport that can transport resources. This
should be automated though so that needed resources are transported
auto-magically.
auto-magically. Another option is to have some resources like metal, crystals,
and Galaxy Credits to be global while things like food and energy are local to
each planet. This way you can build production buildings on each planet.
I also want there to be some form of tech tree that the player can choose and
can research. Maybe add some rare resources.
@@ -89,10 +98,25 @@ security however the server does need to be secure.
The `Universe` class will contain everything in the universe. This means planets, ships, and other stelar objects. This will be the API that I can think of:
- universe/
- ships/
- create/
- update/
- move/
## User accesible API
This is the API that the players will be able to access:
```
universe/
- players/
- planets/
- update/
- buildings
- fleets/
- fleet1/
- ships/
- fleet2/
- ships/
ships/
- tech/
```
## Admin/server API
I want them to be able to do anything in the game incliding normally illiegial
actions.