From 230310a33003479c0404a9d68147e8d5882b70bc Mon Sep 17 00:00:00 2001 From: Luke Meyers Date: Fri, 7 Feb 2020 19:37:22 -0800 Subject: [PATCH] tune numbers --- game/game.go | 4 +--- game/physics.go | 4 +++- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/game/game.go b/game/game.go index 5d6f14d..d177e03 100644 --- a/game/game.go +++ b/game/game.go @@ -198,10 +198,8 @@ func NewState() State { } const ( - Steps = 60 + Steps = 40 numBots = 5 NumTeams = 4 NumLanes = 4 - maxA = 2 - maxV = 8 ) diff --git a/game/physics.go b/game/physics.go index 994517f..ed930d3 100644 --- a/game/physics.go +++ b/game/physics.go @@ -52,6 +52,8 @@ func collide(pos, lane int, s State) interface{} { } const ( - passDistance = 3 baseAccel = 1 + maxA = 1 + maxV = 2 + passDistance = 2 )