Showing posts with label Winboard-960. Show all posts
Showing posts with label Winboard-960. Show all posts

Thursday, May 31, 2012

Chess960: Chess education in the 21st century thanks to Mr Botvinnik

I grew up in an isolated part of the world that had no history or culture of playing chess. None of my family played chess or were even vaguely interested, none of my friends played it, nothing at school, no chess training colleges and the internet was only used for academic and military purposes. So I had to learn it from dusty old books, some of which I still cherish today.

Let me say something up front. I'm not a fan of the Botvinnik school! Personally I think the Botvinnik system of chess education is a curse upon chess and we will have to wait at least another couple of decades until the old fashion/imperialist/science oriented approach to chess education is finally out of the system. Unfortunately Kasparov and Kramnik are products of the Botvinnik school and as such are still supporters of it.

The Botvinnik system is responsible for the corrupt idea that it is good to study just a few Chess openings to very great depth. It has industrialised chess education. Yes it has been a great success, but it has been too successful because it has turned chess into a nerdy memory intensive male dominated game. Chess960 led by Bobby Fischer is actually a reaction against the Botvinnik approach I think.....

And here is the irony. I'm actually interested in computer chess just as Mr Botvinnik was! I started Chess too late when I was twenty years old after seeing Chessmaster 8000 in the shop window of the local game store. The love for Chess began.....better late than never. However reading theoretical books and combining it with a poor chess engine is not a good way to learn!

The problem was that the programmers did not properly dumb down Chessmaster and it would not emulate typical human tactical blunders. So I never really had it etched into my vision to see the typical patterns of tactical opportunity. Once I started playing real people, I wasn't seeing the typical tactical blunders that they and I make on a regular basis.

For me the journey has been to learn how to code in C++ and learn how to compile software, just so that I could materialize the engine I was always looking for as a young adult. Although these days with the internet there is not much use for a training chess engine, it's been a project.

This Stockfish960 training engine I've modified is almost the completion of everything I ever wanted in a training engine and it could not have been possible without the generosity of time of a community of people. I've had to hybridize the skill level concepts of Houdini and Stockfish to do it.
  1. It plays decent 960 openings for a couple of moves
  2. It makes decent tactical blunders to learn from
  3. It's struggles like a human in complex sharp tactical positions
  4. It improves like a human in quiet positions
  5. It absorbs time on the clock much like a human
  6. It allows active chess to be played against it
  7. It improves it's play just enough so that the endgame is a challenge for learning
  8. It's skill level advances so that you know where your limits are
  9. It will resign when the position is lost and it will accept a draw
The problem with the major engines out there today are these:
  1. Houdini patronizes the player by playing it's move instantly
  2. Houdini limits the depth but does not improve in the endgame much
  3. Houdini plays a lot of odd blunders that a human wouldn't make
  4. Stockfish weakens it's play positionally, but not so much tactically
  5. None of the engines play a decent Chess960 opening
The two issues that I still have to work on in Stockfish960 training engine are these:
  1. Very occasionally due to random chance, the Stockfish method for worsening the positional evaluation of the engine means that the engine might play a couple of non-human looking moves. It's a real challenge to remove these when they do happen because it is not a simple problem to perfectly simulate mediocrity with an engine.
  2. Houdini is absolutely brilliant at developing the queen in Chess960, but the Stockfish engine is wanting in that area. That will be a challenge to improve and hopefully the open source developers of Stockfish will address this issue one day. However for the purposes of chess960 training, it's not a big issue.
Anybody want to start an anti-Botvinnik revolution? 

:-) 

Enjoy 960

Thursday, May 3, 2012

Chess960 & Double Chess960 for Winboard


Here is a modification of the wonderful Winboard software that I slightly modified to be more useful as a dedicated Chess960 application for single player verses engine training exercises. It includes a modified version of the latest Stockfish engine that plays better Chess960 openings.

A big thanks goes to the developers of Winboard and Stockfish, who have made their code open source for the rest of us to enjoy. I update the code from time to time with new ideas, so check back for the latest version.

Winboard-960 can be downloaded here:
For information on the Stockfish960Trainer engine, click *here*





Credits:

 * Winboard Copyright 1991 by Digital Equipment Corporation, Maynard,
 * Massachusetts.
 *
 * Enhancements Copyright 1992-2001, 2002, 2003, 2004, 2005, 2006,
 * 2007, 2008, 2009, 2010, 2011, 2012 Free Software Foundation, Inc.
 *
 * Enhancements Copyright 2005 Alessandro Scotti
 *
 * XBoard borrows its colors and the bitmaps.xchess bitmap set from XChess,
 * which was written and is copyrighted by Wayne Christopher.
 *
 * The following terms apply to Digital Equipment Corporation's copyright
 * interest in XBoard:
 * ------------------------------------------------------------------------
 * All Rights Reserved
 *
 * Permission to use, copy, modify, and distribute this software and its
 * documentation for any purpose and without fee is hereby granted,
 * provided that the above copyright notice appear in all copies and that
 * both that copyright notice and this permission notice appear in
 * supporting documentation, and that the name of Digital not be
 * used in advertising or publicity pertaining to distribution of the
 * software without specific, written prior permission.
 *
 * DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
 * ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
 * DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
 * ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
 * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
 * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
 * SOFTWARE.
 * ------------------------------------------------------------------------
 *
 * The following terms apply to the enhanced version of XBoard
 * distributed by the Free Software Foundation:
 * ------------------------------------------------------------------------
 *
 * GNU XBoard is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or (at
 * your option) any later version.
 *
 * GNU XBoard is distributed in the hope that it will be useful, but
 * WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
 * General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program. If not, see http://www.gnu.org/licenses/

Stockfish, a UCI chess playing engine derived from Glaurung 2.1
  Copyright (C) 2004-2008 Tord Romstad (Glaurung author)
  Copyright (C) 2008-2012 Marco Costalba, Joona Kiiski, Tord Romstad

GNU GENERAL PUBLIC LICENSE

Enjoy 960

Wednesday, April 11, 2012

Chess960 training engine

Here is a modification of the wonderful Stockfish chess960 engine that I slightly modified to achieve what I think is a better solution to the original skill level code. When a skill level is enabled the engine plays at high strength for the first three moves, even if a skill limit is set or even if search depth has been limited. It also now throws in some variety in it's opening choices to add more interest for opening training.

It's really important to ensure that the engine plays near it's best at the start of a chess960 game because without a book database to refer to, almost all engines will play very poorly if they are constrained by skill level. Often their opening choices don't seem natural even by the standards of a amateur.

The modified Stockfish engine works in all the main chess applications and can be downloaded here in conjunction with Winboard-960: 

Big thanks and full credit to the developers here:
http://www.stockfishchess.com/

Stockfish, a UCI chess playing engine derived from Glaurung 2.1
Copyright (C) 2004-2008 Tord Romstad (Glaurung author)
Copyright (C) 2008-2012 Marco Costalba, Joona Kiiski, Tord Romstad
GNU GENERAL PUBLIC LICENSE

Enjoy 960