Showing posts with label Stockfish. Show all posts
Showing posts with label Stockfish. Show all posts

Wednesday, February 2, 2011

How to cheat at chess (freeware version)

  • Load the open source program Stockfish on your quad core at home; you now have a beast that will beat any human.
  • Install GlaurungServer on the same machine.
  • Download the Stockfish for iPhone app.
  • Configure your app to talk to your home computer with Stockfish's "remote engine" interface.
  • At your next tournament, use the toilet strategically.
And even if the connection with your home computer were to go down, there are several native iPhone apps (tChess and Shredder are both excellent alternatives to Stockfish) that offer master-level tactical advice.

Human nature being what it is, I would wager that a handful of unethical players are already doing this.  (Something similar may have been committed by a member of the 2010 French Olympiad team and two accomplices: bravo to the French Chess Federation for commencing a painful investigation.)  This is one reason for FIDE's cell phone ban.  If you know a tournament director who has worked major national events (we are fortunate to have more than our share of these good folk in Illinois), he or she may share some horror stories with you.  And these are the bad guys who were caught, bad guys using yesterday's technology.

So could someone please explain to me the wisdom of continuing to have big entry fee, big money class events for amateur players?  Amateurs include masters, too; most of us with ratings below USCF 2450 or so play for the love of the game.  I don't think this is as big an issue at higher levels, as strong players have an idea of what other strong players are (and aren't) capable of.

I should add that Stockfish is an amazing engine and that GlaurungServer (which I haven't bothered to test-drive) looks like it could be incredibly useful for serious (and ethical!) players (amateur and pro) who want to consult it during kibitzing sessions..

Wednesday, April 21, 2010

Stockfish

Commercial chess engines (Rybka, Fritz, Chessmaster) are amazingly strong, but they cost serious money. But there are also very strong engines that are freeware. Mig Greengard discusses several in this blog post, including Stockfish, which you can download here.

Please note that if you don't have a commercial interface (Fritz, Shredder, Aquarium), you'll need to download a UCI interface.  I'm told that Arena (download here) is a good free interface for Windows users.  More information (but not much more!) is available on the Stockfish FAQ page.

So how strong is Stockfish? Engines are funny things: the ancient version of Fritz (6.0) on my office PC solves the following position  almost immediately, Rybka takes a second or two, but Stockfish takes a while to find the solution.  That doesn't necessarily mean that Stockfish is weaker, however.  When there's a forced variation with several "studylike" moves and a main line more than ten moves deep, the stronger engine will sometimes take more time to find the correct solution: aggressive alpha-beta pruning eliminates "silly" moves from the computer's search.  Sometimes silly moves are brilliant, but more often they're not. 

We humans are much better at making these judgment calls; our silicon friends are millions of times faster than us, however.

A test position (my favorite study!)

FEN: 2b4k/8/5Pr1/5N2/8/8/8/K1B5 w - - 0 1

Korol'kov 1951
White to play and win

This beautiful study is worth thirty minutes of your time.  Understanding why certain moves don't work is (as usual in a study) a big part of the fun.  You can then cut and paste the Forsythe notation into your chess engine to get its answer.  Please let me know your performance results!

There's a YouTube video explaining this study.