bump up AI depth, battery charge
This commit is contained in:
parent
f230a0b995
commit
c3b6d652b4
|
@ -1,7 +1,7 @@
|
|||
package game
|
||||
|
||||
func smartChooseCommand(s State, teamID int) command {
|
||||
return smartChooseHelper(s, teamID, 2)
|
||||
return smartChooseHelper(s, teamID, aiDepth)
|
||||
}
|
||||
|
||||
func smartChooseHelper(s State, teamID int, depth int) command {
|
||||
|
@ -35,3 +35,7 @@ func score(cmd command, s State, teamID int, depth int) int {
|
|||
cmd2 := smartChooseHelper(s, teamID, depth)
|
||||
return score(cmd2, s, teamID, depth)
|
||||
}
|
||||
|
||||
const (
|
||||
aiDepth = 4
|
||||
)
|
||||
|
|
|
@ -213,5 +213,5 @@ const (
|
|||
numRacers = 3
|
||||
NumTeams = 8
|
||||
NumLanes = NumTeams
|
||||
baseCharge = 16
|
||||
baseCharge = 18
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue