Glaurung

an UCI-compatible open source chess engine developed by Tord Romstad under the GPL 3. Glaurung is the forerunner of Stockfish by Marco Costalba, Joona Kiiski and Tord Romstad, as well the Apple iPhone program powered by Stockfish, incorporating the Glaurung GUI. The companion program GlaurungServer allows to run the chess engine remotely on a home computer. Glaurung, first released in fall 2004, is written in C, later versions completely in C++. It is portable and able to run on Windows, Linux, Mac OS X and mobile platforms.
 * Home * Engines * Glaurung**
 * [[image:Glaurung.jpg link="http://middle-earthencyclopedia.weebly.com/glaurung.html"]] ||~  || **Glaurung**,

Chess960 compliant, Glaurung played two Livingston Chess960 Computer World Championships, in 2005 where it became third, and the in 2006. It won two times the International Open Polish Computer Chess Championships, in 2007 and 2008, and further played the ICT 2007, and the CCT8, CCT10, and CCT11 online tournaments. || toc =Description=
 * [|Glaurung] by [|John Howe] ||~   ||^   ||

Board Representation
Glaurung versions prior to **2.0** applied 16x16 Vector Attacks, combining the property of the 10x12 board with its surrounding ranks and files, which ensure a knight can not jump off the board, with the property that a square difference uniquely maps a [|vector] in the [|Chebyshev] [|vector space] of a chessboard. With the advent of Magic Bitboards, Glaurung **2** was a complete rewrite utilizing bitboards as primary board representation.

Search
Glaurung is a PVS searcher, using advanced selectivity, and was beside Fruit the program which made LMR popular. Since early 2006 Glaurung 1.x supports SMP search.

Evaluation
Glaurung's evaluation is tellingly summarized by Tord's evaluation philosophy, covering orthogonality, continuity, sense of progress and good worst case behavior. Glaurung applies a tapered evaluation to make a smooth transition between the game phases.  =Gaurung GUI= In 2007, Tord released an own UCI compliant GUI for Mac OS X, written in [|Objective-C] using the [|GNUstep] implementation of the [|Cocoa] [|Widget toolkit], later ported for the iPhone.
 * [[image:Glaurung3.png link="http://www.glaurungchess.com/"]] ||
 * Glaurung with own GUI for Apple iPhone ||

=Play Magnus= In February 2014, a modified and tuned version of Glaurung became the chess engine of Play Magnus, a chess application for iPhone and iPod Touch by //Play Magnus AS//, an [|Oslo], Norway-based company founded by [|Magnus Carlsen] , who became [|World Chess Champion] in [|November 2013].

=See also=
 * Dragon
 * Gothmog
 * Play Magnus
 * Smaug
 * Stockfish
 * Tolkien characters
 * Viper

=Forum Posts=

2004

 * [|Re: Attack table] by Tord Romstad, Winboard Forum, October 14, 2004
 * [|Glaurung 0.1.4 (off-topic)] by Tord Romstad, Winboard Forum, October 18, 2004
 * [|Glaurung 0.1.5 source code] by Tord Romstad, Winboard Forum, November 30, 2004

2005

 * [|The mate score bug in Glaurung] by Tord Romstad, Winboard Forum, January 24, 2005
 * [|Glaurung 0.1.7] by Tord Romstad, Winboard Forum, January 26, 2005
 * [|Glaurung 0.2.0] by Tord Romstad, Winboard Forum, February 05, 2005
 * [|Reductions and null move refutations] by Tord Romstad, Winboard Forum, April 18, 2005 » Null Move Pruning, Reductions, Late Move Reductions
 * [|Glaurung 0.2.5j FRC] by Tord Romstad, CCC, July 16, 2005
 * [|Glaurung in Mainz: Part 1 (very long)] by Tord Romstad, CCC, August 13, 2005
 * [|Glaurung in Mainz: Part 2 (even longer)] by Tord Romstad, CCC, August 14, 2005 » Chess960CWC 2005

2006

 * [|Glaurung 1.0.2 - for the not so serious chess player] by Tord Romstad, CCC, January 26, 2006
 * [|Glaurung SMP: Beta testers with dual Macs or Linux boxes wanted] by Tord Romstad, CCC, February 20, 2006
 * [|Glaurung SMP: Now also for Windows!] by Tord Romstad, CCC, February 23, 2006
 * [|Glaurung CCT8] by Tord Romstad, CCC, February 27, 2006 » CCT8

2007

 * [|Glaurung 2-epsilon] by Tord Romstad, CCC, May 06, 2007
 * [|Glaurung 2-epsilon: Another attempt] by Tord Romstad, CCC, May 07, 2007
 * [|Glaurung 2 - epsilon/2] by Tord Romstad, CCC, May 10, 2007
 * [|Glaurung 2 - epsilon/3] by Tord Romstad, CCC, June 07, 2007
 * [|No mate threat extension in new Glaurung?] by Uri Blass, CCC, June 11, 2007
 * [|Glaurung 2-epsilon/5] by Tord Romstad, CCC, June 25, 2007
 * [|Glaurung wrong mate scores] by Uri Blass, CCC, June 23, 2007
 * [|Glaurung is new Polish Champion] by Werner Schüle, CCC, July 01, 2007 » IOPCCC 2007
 * [|Glaurung GUI for Mac OS X (and possibly Linux)] by Tord Romstad, CCC, July 03, 2007 » Mac OS
 * [|Glaurung: Lodz report and other news] by Tord Romstad, CCC, July 08, 2007» IOPCCC 2007
 * [|Glaurung Lodz 2007 (unofficial Windows distribution))] by Denis P. Mendoza, CCC, July 12, 2007
 * [|Going crazy over Glaurung...] by Alessandro Scotti, CCC, July 28, 2007
 * [|Macintosh Glaurung users: Please help] by Tord Romstad, CCC, November 23, 2007 » Macintosh

2008

 * [|Toga/Glaurung/Strelka Prunings/Reductions] by Edsel Apostol, CCC, January 31, 2008 » Toga, Strelka, Pruning, Reductions
 * [|Glaurung for the iPod/iPhone] by Tord Romstad, CCC, March 12, 2008
 * [|Re: Glaurung's loss against OliThink] by Tord Romstad, CCC, April 02, 2008
 * [|Glaurung needs some testers] by Tord Romstad, CCC, April 18, 2008
 * [|Glaurung 2.1] by Tord Romstad, CCC, May 14, 2008
 * [|Glaurung Mac OS X: New GUI, now with adjustable strength.] by Tord Romstad, CCC, May 18, 2008 » Playing Strength
 * [|testing, again. Glaurung 2 change] by Robert Hyatt, CCC, August 23, 2008
 * [|Glaurung 2.1 under git] by Marco Costalba, CCC, September 01, 2008
 * [|Experimental Glaurung version] by Tord Romstad, CCC, December 04, 2008
 * [|Glaurung 2.2] by Tord Romstad, CCC, December 20, 2008

2009

 * [|Now on the ICC: GLaurung for iPod Touch!] by Tord Romstad, CCC, January 03, 2009
 * [|Beta testers wanted: Glaurung for the iPhone] by Tord Romstad, CCC, January 10, 2009
 * [|Re: Patterns] by Tord Romstad, Winboard Forum, January 30, 2009
 * [|It's ready! Glaurung 1.0 for the iPhone/iPod Touch] by Tord Romstad, CCC, February 22, 2009
 * [|Kudos to Tord on Glaurung for iPhone] by Stuart Cracraft, CCC, February 28, 2009
 * [|Glaurung for the iPhone: Source code available] by Tord Romstad, CCC, March 01, 2009
 * [|Possible Glaurung 2.2 bug] by Gian-Carlo Pascutto, CCC, March 27, 2009
 * [|Re: Stockfish - Glaurung] by Tord Romstad [|WBEC-Ridderkerk forum], September 05, 2009

2010 ...

 * [|Revolutionizing handheld chess: Glaurung 2 for the iPhone] by Tord Romstad, CCC, July 02, 2010
 * [|Poll: Problems with iPhone Glaurung 2.0?] by Tord Romstad, CCC, July 04, 2010
 * [|Play Magnus: official App with Chess Engine] by Julien Marcel, CCC, February 25, 2014

=External Links=

Chess Engine

 * [|Glaurung and Scatha] hosted by the [|Internet Archive]
 * [|Glaurung] (expired)

Misc

 * [|Glaurung (fictional character) from Wikipedia]
 * [|Glaurung - Tolkien Gateway]
 * [|Glaurung - Lord of the Rings Wiki]
 * [|Council-of-Elrond Middle Earth Encyclopedia - Glaurung]

=References= =What links here?= include page="Glaurung" component="backlinks" limit="100"
 * Up one Level**