Compare commits
2 Commits
b5cea69fb8
...
1965e10bc4
| Author | SHA1 | Date | |
|---|---|---|---|
| 1965e10bc4 | |||
| e4d78a575a |
@@ -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.
|
||||
|
||||
@@ -1,7 +1,8 @@
|
||||
#include "random.h"
|
||||
#include <stdint.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#include "random.h"
|
||||
|
||||
int main() {
|
||||
uint32_t seed;
|
||||
printf("Enter seed: ");
|
||||
|
||||
Reference in New Issue
Block a user