A strategy/simulation game.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
assets/fonts
cmake_modules
screenshot
.gitignore
.travis.yml
CMakeLists.txt
COMPILING.md
CONTRIBUTING.md
LICENSE
README.md
config.h
game.cpp
game.h
main.cpp
mainmenu.cpp
mainmenu.h
planet.cpp
planet.h
planet_relationships.cpp
planet_relationships.h
resource.cpp
resource.h
scene.h
sidebar.cpp
sidebar.h
solar_system.cbp
spaceship.cpp
spaceship.h
widget.cpp
widget.h
widget_list.cpp
widget_list.h

README.md

Solar System

⭐️ Star the repository if you like it :)

Solar System is a strategy arcade game written with SFML, in which you have to send resources to and from planets to try to keep the resource balance even to prevent planets from attacking each other.

It's in very early development at the moment, so it's definitely not very polished, and most of the features I want aren't implemented yet. However, it is just about playable usable: you can transfer resources from one planet to another by dragging from the sender planet to the destination.

In the future I want to add these features:

  • Random initial resources depending on planet properties, e.g. a large planet would probably have a higher population, metal supply, etc.. than a smaller planet.

  • Inter-planetary relations, i.e. if planet A sends loads of resources to planet B, planet B will like planet A more, but if they don't send anything back planet A will get a bit angry.

  • Better planet generation. It'd be nice to have better name generation.

  • Many more planet properties. Some ideas:

    • Temperature
    • Type (urban, rural, etc...)
    • resource: Technology
  • Properties specific to populations, such as intelligence and how easily they become angry at other planets. This would involve a change of some sort to the way I currently store population (as a resource.)

  • Wars: If a planet gets angry at another they might start a war. This will involve (against the player's will) the two planets sendings ships back and forth to plunder resources, and firing missiles in an attempt decimate the population. If a planet's population gets too low in a war, they can surrender, but they'll have to sign a treaty (maybe sending 75% of their resources every year for the next n years.) Technological advances might also be faster in wartime.

Building

There are some instructions on how to build this project in COMPILING.md.

Contributing

Before contributing to this repository, have a read of CONTRIBUTING.md.

Also, if you have any ideas for things you'd like to see in the game, add an issue.