dkforest

A forum and chat platform (onion)
git clone https://git.dasho.dev/n0tr1v/dkforest.git
Log | Files | Refs | LICENSE

commit 8bbdd3d46d0a03629d62d2057c7e6a9646e8e182
parent cc4da688a79b401548023606d73b94325adcb1b8
Author: n0tr1v <n0tr1v@protonmail.com>
Date:   Sat, 17 Jun 2023 18:44:47 -0700

use depth instead of time

Diffstat:
Mpkg/web/handlers/interceptors/chess.go | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pkg/web/handlers/interceptors/chess.go b/pkg/web/handlers/interceptors/chess.go @@ -1001,7 +1001,7 @@ func AnalyzeGame(pgn string, t int64) (out AnalyzeResult, err error) { continue } cmdPos := uci.CmdPosition{Position: position} - cmdGo := uci.CmdGo{MoveTime: time.Second} + cmdGo := uci.CmdGo{Depth: 24} if err := eng.Run(cmdPos, cmdGo); err != nil { //if err.Error() == `chess: failed to decode long algebraic notation text "(none)" for position <nil>` { // cp := 0