From 7af4bf9d6cc47cf5b4b23ca8a28bf0089354ad25 Mon Sep 17 00:00:00 2001 From: El-BG-1970 Date: Mon, 30 Jan 2023 11:38:34 +0100 Subject: added an update-zone function that updates prices randomly currently does not have tests in the test suite prices currently update at random but ideally we'd update the prices using the amount of stuff traded during the last round --- src/game.lisp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/game.lisp') diff --git a/src/game.lisp b/src/game.lisp index f0efd14..b1774d5 100644 --- a/src/game.lisp +++ b/src/game.lisp @@ -46,6 +46,7 @@ (zone:name z))) zones))) (when z + (zone:update-zone cur-zone) (setq cur-zone z))))) (defmethod get-profit-in-zone ((g game) name zone) -- cgit v1.2.3