Compare commits

..

2 Commits

Author SHA1 Message Date
1965e10bc4 Add quadrant values 2026-02-17 13:47:24 +01:00
e4d78a575a Update main.c 2026-02-17 13:35:23 +01:00
2 changed files with 9 additions and 1 deletions

View File

@@ -12,6 +12,8 @@
- The world is a 256x256 grid of tiles called quadrants
### Quadrants
#### Types
- Empty - 30% chance
- Asteroid field - 10% chance
- Star system - 10% chance
@@ -24,6 +26,11 @@
- Anomaly - 4% chance
- Singularity - 1% chance
- Every quadrant has three boolean values:
- Visited - Whether the player has visited the quadrant
- Discovered - Whether the player has discovered the quadrant (and is visible on map)
- Old - Whether the quadrant is old, effects differ. Every quadrant has a 20% chance of being old.
### Wormholes
- When entering a black hole, the player is teleported to a random white hole. If there are no white holes, the player is teleported to a random quadrant.

View File

@@ -1,7 +1,8 @@
#include "random.h"
#include <stdint.h>
#include <stdio.h>
#include "random.h"
int main() {
uint32_t seed;
printf("Enter seed: ");