Older Version Newer Version

GerdIsenberg GerdIsenberg Jul 4, 2017

**[[Home]] * [[Engines]] * MadChess**
|| [[image:184px-Alfred_E._Neumann.jpg link="https://commons.wikimedia.org/wiki/File:Alfred_E._Neumann.jpg"]] ||~ || **MadChess**,
an [[UCI]] compliant [[Open Source Engines|open source chess engine]] by [[Erik Madsen]], written in [[C sharp|C#]] to run under the [[Windows]] [[https://en.wikipedia.org/wiki/.NET_Framework|.NET framework]]. It was first released under the  [[Free Software Foundation#GPL|GNU General Public License Version 3]] as successor of Erik's former C# engine [[RumbleMinze]] in October 2012 <ref>[[http://www.talkchess.com/forum/viewtopic.php?t=45723|MadChess 1.0 Released (C# .NET Engine)]] by [[Erik Madsen]], [[CCC]], October 25, 2012</ref>, and features adjustable [[Playing Strength|playing strength]] with improved algorithms since MadChess **1.4** <ref>[[http://www.talkchess.com/forum/viewtopic.php?t=51973|MadChess UCI_LimitStrength Algorithm]] by [[Erik Madsen]], [[CCC]], April 12, 2014</ref> <ref>[[http://www.madchess.net/page/User-Guide|MadChess - User Guide]]</ref>.  MadChess **2.1**, released in February 2017 is using [[https://en.wikipedia.org/wiki/.NET_Framework#.NET_Core|.NET Core]], [[Microsoft|Microsoft’s]] [[https://en.wikipedia.org/wiki/Cross-platform|cross-platform]] [[https://en.wikipedia.org/wiki/Free_and_open-source_software|free and open-source]] managed software framework to support not only [[Windows]], but [[Linux]], and [[Mac OS|Mac]] <ref>[[http://www.madchess.net/2017/02/22/madchess-2-1-released/|MadChess 2.1 Released – MadChess]], February 22, 2017</ref> <ref>[[http://www.talkchess.com/forum/viewtopic.php?t=63248|MadChess 2.1 Released - Supports Windows, Linux, Mac]] by [[Erik Madsen]], [[CCC]], February 23, 2017</ref>. ||
|| Me Worry? <ref>A postcard with the [[https://en.wikipedia.org/wiki/Public_domain|public domain]] "[[http://en.wiktionary.org/wiki/what_me_worry|me worry?]]" face that later inspired [[https://en.wikipedia.org/wiki/Mad_%28magazine%29|Mad magazine's]] [[https://en.wikipedia.org/wiki/Alfred_E._Neuman|Alfred E. Neuman]],  ca. 1910s, [[https://en.wikipedia.org/wiki/Alfred_E._Neuman|Alfred E. Neuman from Wikipedia]]</ref>  ||~ ||^ ||
[[toc]]
=Description=
==Move Generation==
[[#MoveGeneration]]MadChess applies an incremental [[Move Generation|move generation]], using the C# [[https://en.wikipedia.org/wiki/Generator_%28computer_programming%29#C.23|yield statement]] <ref>[[http://talkchess.com/forum/viewtopic.php?p=485936#485936|Re: Question About CPP-C#, Performance, and Square Representation]] by [[Erik Madsen]], [[CCC]], October 03, 2012</ref> <ref>[[http://msdn.microsoft.com/en-us/library/9k7k7cf0.aspx|yield - MSDN C# Reference]]</ref> <ref>[[http://startbigthinksmall.wordpress.com/2008/06/09/behind-the-scenes-of-the-c-yield-keyword/|Behind the scenes of the C# yield keyword | Struggles]] by [[http://startbigthinksmall.wordpress.com/|Lars Corneliussen]], June 9, 2008</ref> <ref>[[https://en.wikipedia.org/wiki/Generator_%28computer_programming%29|Generator (computer programming) from Wikipedia]]</ref> <ref>[[https://en.wikipedia.org/wiki/Coroutine|Coroutine from Wikipedia]]</ref> using [[Incremental Updates |incrementally updated]] [[Piece-Lists|list of attackers]] for any [[Ranks|rank]], [[Files|file]], [[Diagonals|diagonal]], or [[Anti-Diagonals|anti-diagonal]]. 

==Search==
MadChess performs a [[Principal Variation Search|principal variation search]] along with [[Transposition Table|transposition table]], [[Killer Heuristic|killer]] and [[History Heuristic|history heuristic]], [[Null Move Pruning|null move pruning]] and [[Late Move Reductions|late move reductions]] inside an [[Iterative Deepening|iterative deepening]] framework with [[Aspiration Windows|aspiration]]. It eliminates all [[Reductions|reductions]] and lazy evaluation along the principal variation.

==Evaluation==
The [[Evaluation|evaluation]] might be [[Lazy Evaluation|lazy]] with respect to bounds, and otherwise uses a [[Tapered Eval|tapered evaluation]] on [[Game Phases|game phase]] between speculative computed [[Middlegame|middlegame]] and [[Endgame|endgame]] [[Score|scores]], considering [[Piece-Square Tables|piece-square tables]], [[Mobility|mobility]], [[Pawn Structure|pawn structure]], and [[King Safety|king safety]] and various [[Evaluation of Pieces|piece evaluation]] terms. 

=See also=
* [[Various Classifications#Disease|Disease]]
* [[Madness Schach]]
* [[Matchess]]
* [[RumbleMinze]]

=Forum Posts=
==2012==
* [[http://www.talkchess.com/forum/viewtopic.php?t=45723|MadChess 1.0 Released (C# .NET Engine)]] by [[Erik Madsen]], [[CCC]], October 25, 2012
* [[http://www.talkchess.com/forum/viewtopic.php?t=45795|Score Inaccuracy: An Engine Weakening Algorithm]] by [[Erik Madsen]], [[CCC]], October 31, 2012
==2013==
* [[http://www.talkchess.com/forum/viewtopic.php?t=46790|MadChess 1.1 Released]] by [[Erik Madsen]], [[CCC]], January 06, 2013
* [[http://www.talkchess.com/forum/viewtopic.php?t=47457|MadChess 1.2 Released]] by [[Erik Madsen]], [[CCC]], March 09, 2013
* [[http://www.talkchess.com/forum/viewtopic.php?t=49497|MadChess 1.3 Released]] by [[Erik Madsen]], [[CCC]], September 28, 2013
==2014==
* [[http://www.talkchess.com/forum/viewtopic.php?t=51973|MadChess UCI_LimitStrength Algorithm]] by [[Erik Madsen]], [[CCC]], April 12, 2014
* [[http://www.talkchess.com/forum/viewtopic.php?t=51974|MadChess 1.4 Released]] by [[Erik Madsen]], [[CCC]], April 12, 2014
* [[http://www.talkchess.com/forum/viewtopic.php?t=53654|MadChess With Odds Versus Elite Engines]] by [[Erik Madsen]], [[CCC]], September 11, 2014
* [[http://www.talkchess.com/forum/viewtopic.php?t=54320|MadChess 2.0 Development]] by [[Erik Madsen]], [[CCC]], November 12, 2014
==2015 ...==
* [[http://www.talkchess.com/forum/viewtopic.php?t=57920|MadChess 2.0 Released]] by [[Erik Madsen]], [[CCC]], October 12, 2015
* [[http://www.talkchess.com/forum/viewtopic.php?t=63248|MadChess 2.1 Released - Supports Windows, Linux, Mac]] by [[Erik Madsen]], [[CCC]], February 23, 2017
* [[http://www.talkchess.com/forum/viewtopic.php?t=64504|MadChess 2.2 Released]] by [[Erik Madsen]], [[CCC]], July 04, 2017

=External Links=
==Chess Engine==
* [[http://www.madchess.net/|MadChess]]
> [[http://www.madchess.net/page/User-Guide|MadChess - User Guide]]
* [[http://www.computerchess.org.uk/ccrl/4040/cgi/compare_engines.cgi?family=MadChess&print=Rating+list&print=Results+table&print=LOS+table&print=Ponder+hit+table&print=Eval+difference+table&print=Comopp+gamenum+table&print=Overlap+table&print=Score+with+common+opponents|MadChess]] in [[CCRL|CCRL 40/40]]
==Misc==
* [[https://en.wikipedia.org/wiki/MAD|MAD from Wikipedia]]
* [[https://en.wikipedia.org/wiki/Mad_%28magazine%29|Mad (magazine) from Wikipedia]]
* [[https://en.wikipedia.org/wiki/Insanity|Insanity from Wikipedia]]

=References=
<references />
=What links here?= 
[[include page="MadChess" component="backlinks" limit="40"]]
**[[Engines|Up one level]]**