Difference between revisions of "SCP"

From Chessprogramming wiki
Jump to: navigation, search
(Created page with "'''Home * Engines * SCP''' '''SCP''', (Stanback Chess Program, also mentioned as JSCP)<br/> an open source chess program by John S...")
 
Line 2: Line 2:
  
 
'''SCP''', (Stanback Chess Program, also mentioned as JSCP)<br/>
 
'''SCP''', (Stanback Chess Program, also mentioned as JSCP)<br/>
an [[Open Source Engines|open source chess program]] by [[John Stanback]], written in [[C]] and published in May 1987 at [[Computer Chess Forums|comp.sources.games]] <ref>[https://groups.google.com/d/msg/comp.sources.games/zs_1mrpdseE/YL2yGrzoXrEJ v01i023: chess - C source for chess] by [[John Stanback]], [[Computer Chess Forums|comp.sources.games]], May 21, 1987</ref>. SCP later evolved to [[GNU Chess|GNU Chess 2-4]], and was also ported to the [[Amiga]] as ''Chess'' and ''Chess 2.0'', the latter with a mouse-driven [[GUI]] <ref>[http://www.mobygames.com/game/amiga/chess-20 Chess 2.0 for Amiga (1989)], [https://en.wikipedia.org/wiki/MobyGames MobyGames]</ref>. A [[WinBoard]] compatible version of SCP was most recently updated by [[Jim Ablett]] <ref>[http://www.talkchess.com/forum/viewtopic.php?t=29106 SCP/Gnuchess 2.02 JA by John Stanback - Update] by [[Jim Ablett]], [[CCC]], July 25, 2009</ref>, hosted by [[Kirill Kryukov]] <ref>[http://kirr.homeunix.org/chess/engines/Jim%20Ablett/SCP/ SCP] maintained and updated by [[Jim Ablett]], hosted by [[Kirill Kryukov]]</ref>.
+
an [[:Category:Open Source|open source chess program]] by [[John Stanback]], written in [[C]] and published in May 1987 at [[Computer Chess Forums|comp.sources.games]] <ref>[https://groups.google.com/d/msg/comp.sources.games/zs_1mrpdseE/YL2yGrzoXrEJ v01i023: chess - C source for chess] by [[John Stanback]], [[Computer Chess Forums|comp.sources.games]], May 21, 1987</ref>. SCP later evolved to [[GNU Chess|GNU Chess 2-4]], and was also ported to the [[Amiga]] as ''Chess'' and ''Chess 2.0'', the latter with a mouse-driven [[GUI]] <ref>[http://www.mobygames.com/game/amiga/chess-20 Chess 2.0 for Amiga (1989)], [https://en.wikipedia.org/wiki/MobyGames MobyGames]</ref>. A [[WinBoard]] compatible version of SCP was most recently updated by [[Jim Ablett]] <ref>[http://www.talkchess.com/forum/viewtopic.php?t=29106 SCP/Gnuchess 2.02 JA by John Stanback - Update] by [[Jim Ablett]], [[CCC]], July 25, 2009</ref>, hosted by [[Kirill Kryukov]] <ref>[http://kirr.homeunix.org/chess/engines/Jim%20Ablett/SCP/ SCP] maintained and updated by [[Jim Ablett]], hosted by [[Kirill Kryukov]]</ref>.
  
 
=Description=
 
=Description=
Line 53: Line 53:
  
 
'''[[Engines|Up one level]]'''
 
'''[[Engines|Up one level]]'''
 +
[[Category:Open Source]]

Revision as of 14:39, 26 June 2018

Home * Engines * SCP

SCP, (Stanback Chess Program, also mentioned as JSCP)
an open source chess program by John Stanback, written in C and published in May 1987 at comp.sources.games [1]. SCP later evolved to GNU Chess 2-4, and was also ported to the Amiga as Chess and Chess 2.0, the latter with a mouse-driven GUI [2]. A WinBoard compatible version of SCP was most recently updated by Jim Ablett [3], hosted by Kirill Kryukov [4].

Description

Search

SCP represents the board as 12x12 mailbox array with piece lists, and uses full-width alpha-beta with extensions on checks, check evasions, promotions, threats and threats to multiple pieces. Capture sequences are handled by a separate search routine.

Repetitions

SCP seems to originate the repetition counting algorithm, also found in some GNU Chess versions, TSCP [5], and Belzebub. It may detect false repetitions in case of exchanging two unequal pieces [6].

  for (i = GameCnt; i > Game50; i--)  {
    m = GameList[i]; f = m>>8; t = m & 0xFF;
    if (t != 255 && f != 255) {
      b[f]++; b[t]--;
      if (b[f] == 0) c--; else c++;
      if (b[t] == 0) c--; else c++;
      if (c == 0) r++;
    }
  }

Evaluation

SCP's evaluation considers material, piece-square tables for knights, bishops and passed pawns, piece mobility, pawn structure, rook on (half) open files, and some king safety issues and positive king centre proximity in the endgame.

Publications

See also

Forum Posts

External Links

References

Up one level