You can mine asteroids to collect resources, which you will then use to build your own ships. There are other ways to gain credits, too: You can trade with other players (or AI) or destroy and loot ships controlled by other factions or pirates. Everything in the game is be made out of blocks of different sizes, this way it is easy to build your own space ships as you wish, and even generate them randomly for infinite possibilities!