Stockfish in cutechess-cli

Discussion of anything and everything relating to chess playing software and machines.

Moderators: hgm, Rebel, chrisw

Robert Pope
Posts: 558
Joined: Sat Mar 25, 2006 8:27 pm

Stockfish in cutechess-cli

Post by Robert Pope »

I've been trying to add a weakened Stockfish to my tournaments with the skill level option, and I can't seem to get it to work. Can anyone share their parameters? This goes in the command line, and not the JSON, right?
User avatar
Ozymandias
Posts: 1532
Joined: Sun Oct 25, 2009 2:30 am

Re: Stockfish in cutechess-cli

Post by Ozymandias »

It can be included in any of the two, but I prefer the JSON file, here's a sample with everything at default except for the skill level option:

Code: Select all

  { 
    "workingDirectory" : "C:\\", 
    "command" : "nameoftheSFversion.exe", 
    "name" : "halfwittedSF", 
    "options" : [ 
      { 
        "name" : "Skill Level", 
        "value" : 10 
      } 
    ] 
  }, 
Just change it according to your environment and paste it in between any two engines.
Robert Pope
Posts: 558
Joined: Sat Mar 25, 2006 8:27 pm

Re: Stockfish in cutechess-cli

Post by Robert Pope »

Thanks!