• Mahmoud Aglan's avatar
    fix: weak bots now actually play weak — MultiPV suboptimal move selection · f7e91492
    Mahmoud Aglan authored
    Before: even amina (skill 1) played near-optimal moves because Stockfish
    at depth 3 still finds good moves. Blunders just reduced depth to 1 which
    barely changes anything in simple positions.
    
    Now:
    - Blunder rolls: analyze 5 lines and pick from the worst (3rd-5th best)
    - Weak bots (skill <= 5): use MultiPV and randomly pick suboptimal moves
      - Skill 1-2 (amina): NEVER plays the best move, picks from 2nd-5th line
      - Skill 3-5 (tarek): 40% best move, 60% picks from worse options
    - Strong bots (skill > 5): unchanged, use standard depth/skill search
    Co-Authored-By: 's avatarClaude Opus 4.6 <noreply@anthropic.com>
    f7e91492
Name
Last commit
Last update
cmd/server Loading commit data...
internal Loading commit data...
web Loading commit data...
.dockerignore Loading commit data...
.env.example Loading commit data...
.gitignore Loading commit data...
Dockerfile Loading commit data...
NewServer.pem Loading commit data...
STOCKFISH_API_REFERENCE copy.txt Loading commit data...
STOCKFISH_API_REFERENCE.txt Loading commit data...
captain-definition Loading commit data...
go.mod Loading commit data...
go.sum Loading commit data...