Improve AI difficulty scaling.
This commit is contained in:
@@ -11,7 +11,11 @@ import (
|
||||
)
|
||||
|
||||
// botDifficulty maps the API's difficulty names to a skill level and a
|
||||
// table name for the bot.
|
||||
// table name for the bot. The levels are calibrated against a competent
|
||||
// player (ai.competentLevel, ~0.60): easy loses ~95% of games to them, medium
|
||||
// is an even match, and hard wins ~80% (see TestDiagWinRateCurve). Medium is
|
||||
// pinned to the competent level itself; hard is the strongest bot the engine
|
||||
// can field.
|
||||
var botDifficulty = map[string]struct {
|
||||
level float64
|
||||
name string
|
||||
|
||||
Reference in New Issue
Block a user