A simple terminal-based space survival game written in C. Your mission is to safely navigate through space and reach Earth while managing critical resources.
You are the commander of a spaceship trying to reach Earth.
You must manage:
- Fuel
- Oxygen
- Health
Make the right decisions in random events to survive and complete your mission.
Reach a distance of 100 while keeping:
- Fuel > 0
- Oxygen > 0
- Health > 0
-
Decision-based gameplay (3 choices per event)
-
Random events (no repetition back-to-back)
-
Level progression system:
- Level 1 → Easy
- Level 2 → Medium
- Level 3 → Hard
-
Level-up bonus rewards
-
Final mission report (win/lose analysis)
-
Run the program
-
Choose Start Mission
-
For each event:
- Enter
1,2, or3
- Enter
-
Try to survive and reach distance 100
gcc game.c -o game./gamemain_code.c # Main game source code
README.md # Project documentation
- Add graphics (using SDL/OpenGL)
- Save/load game progress
- Sound effects
- Better UI design
- Difficulty selection
This project is open-source and free to use.