1# Sample rcfile for Sjeng 11.x 2# 3# First number is size of hash table (transposition table) 4# An entry is about 16 bytes, and there are three tables, 5# so the total hash size is the number below times 48. 6# Normal, Bughouse, Crazyhouse, Losers 7# 8100000 9# 10# Evaluation cache entries 11# An entry is normally about 8 bytes 12# Normal, Bughouse, Crazyhouse, Losers 13# 144000 15# 16# Proofnumber search buffer 17# In suicide/giveaway and losers Sjeng uses proofnumbersearch instead 18# of the more common alpha-beta search. If the buffer is filled 19# Sjeng will have to stop searching. Make this a large 20# number if you will play suicide or losers at slow timecontrols. 21# You can safely set this to 0 if you do not play suicide/giveaway 22# or losers. 23# Each entry is about 28 bytes. 24# Suicide/Giveaway and Losers only 25# 26500000 27# 28# Kingsafety scalefactor (range 0<->2.5) 29# This controls how much emphasis Sjeng will 30# put on kingattacks vs material gain. 31# The eval can be completely finetuned below. 32# Crazyhouse/bughouse only 33# 341.0 35# 36# Development scaling (1=enabled/0=disabled) 37# Sjeng will put less emphasis on trying to 38# get pieces on good squares if it does not 39# have much material in hand. 40# Crazyhouse/bughouse only 411 42# 43# Razor drop moves (1=enabled/0=disabled) 44# Sjeng will look less deep at 45# drop moves that seem passive. 46# Crazyhouse/bughouse only 471 48# 49# Cut drop moves (1=enabled/0=disabled) 50# Sjeng will try to avoid looking at drop moves 51# where the dropped piece can be captured immediately. 52# EXPERIMENTAL 53# Crazyhouse/bughouse only 541 55# 56# Book learning 57# Sjeng will adjust the openings it plays 58# depending on the outcome of the game. 59# All variants 601 61# 62# Futility pruning/Limited Razoring (1=enabled/0=disabled) 63# Sjeng will try to avoid looking at positions 64# where it is materially lost, or will look at 65# them less deeply. 66# All variants 671 68# 69# One-reply extension (1=enabled/0=disabeled) 70# Sjeng will loop deeper at very forcing lines. 71# This can cause Sjeng to see some tactics faster, 72# but it may reduce overall search depth. 73# Normal/Crazyhouse/Bughouse 741 75# 76# Recapture extension (1=enabled/0=disabled) 77# Sjeng will treat a recapture like a forced move. 78# Normal/Crazyhouse/Bughouse 791 80# 81# Use Smarteval (1=enabled/0=disabled) 82# This enables the use of an evalution 83# which can detect some typical threats, 84# but which will also slow the search down. 85# Crazyhouse and Bughouse only 861 87# 88# Use Attackeval (1=enabled/0=disabled) 89# Sjeng will do a full calculation of 90# which squares near the king are threatened. 91# This will increase its awareness of 92# kingsafety, but will also cause it 93# to search slower, and hence look less deeply. 94# Crazyhouse and Bughouse only 951 96# 97# Kingsafety (Crazyhouse/Bughouse only) 98# 99# The following tables are the 'tropisms'. 100# They are basically bonusses for having pieces 101# close to the opposing king. The closer our 102# pieces are, the better. First number is a 103# maximum distance of 1 file/rank. Second 2 etc... 104# 105# Pawn tropisms 10640 20 10 3 1 1 0 107# Bishop tropisms 10850 25 15 5 2 2 2 109# Knight tropisms 11050 70 35 10 2 1 0 111# Rook tropisms 11250 40 15 5 1 1 0 113# Queen tropisms 114100 60 20 5 2 0 0 115# 116# 117# KingAttacks table (Crazyhouse/Bughouse only) 118# 119# The following table is used to give penalties 120# depending on the number of squares around our 121# king that are attacked, taking into account 122# the pieces in our opponents hand. 123# 124# It is only used if AttackEval is also enabled 125# 126# 127# Columns are the number of squares that are attacked. 128# Rows are the number of points in the opponents hand. 129# 130-5 5 10 15 50 80 150 150 150 131-5 15 20 25 70 150 200 200 200 132-5 15 30 30 100 200 300 300 300 133-10 20 40 40 100 200 300 300 400 134-10 30 50 80 150 300 400 400 500 135-10 35 60 100 200 250 400 400 500 136-10 40 70 110 210 300 500 500 600 137-10 45 75 125 215 300 500 600 700 138-10 60 90 130 240 350 500 600 700 139-15 60 95 145 260 350 500 600 700 140-15 60 100 150 270 350 500 600 700 141-15 60 110 160 280 400 600 700 800 142-20 70 115 165 290 400 600 700 800 143-20 80 120 170 300 450 700 800 900 144-20 80 125 175 310 450 700 800 900 145