aboutsummaryrefslogtreecommitdiff
path: root/specs
diff options
context:
space:
mode:
authorSofviic <sofviic1993@gmail.com>2024-06-18 13:54:40 +0300
committermetamuffin <metamuffin@disroot.org>2024-06-23 19:21:22 +0200
commit82699d726c9a927adf4fd17855113a85e19314c8 (patch)
tree779ba5ed80c46eb590fc38332bd737b78a0a7344 /specs
parent4899dad40393ed4ad74f7c4531557c76c41159f8 (diff)
downloadhurrycurry-82699d726c9a927adf4fd17855113a85e19314c8.tar
hurrycurry-82699d726c9a927adf4fd17855113a85e19314c8.tar.bz2
hurrycurry-82699d726c9a927adf4fd17855113a85e19314c8.tar.zst
game design document; 6 demand; psudocode typo
Diffstat (limited to 'specs')
-rw-r--r--specs/06.Demand.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/specs/06.Demand.md b/specs/06.Demand.md
index 01424a27..bd8d5dcd 100644
--- a/specs/06.Demand.md
+++ b/specs/06.Demand.md
@@ -25,6 +25,7 @@ every day the `bias` will be offset by `[-10,10]` multiplied by the [sway coeffi
(clamped to -50% & 50%).
```c
bias += rand(-10,10) * sway
+bias = clamp(bias,-50,50)
```
### Traffic Coefficent