From 82699d726c9a927adf4fd17855113a85e19314c8 Mon Sep 17 00:00:00 2001 From: Sofviic Date: Tue, 18 Jun 2024 13:54:40 +0300 Subject: game design document; 6 demand; psudocode typo --- specs/06.Demand.md | 1 + 1 file changed, 1 insertion(+) (limited to 'specs') 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 -- cgit v1.2.3-70-g09d2