{"id":542,"date":"2020-06-29T13:30:22","date_gmt":"2020-06-29T17:30:22","guid":{"rendered":"https:\/\/www.menasoft.com\/blog\/?page_id=542"},"modified":"2020-09-07T09:45:02","modified_gmt":"2020-09-07T13:45:02","slug":"dotchess","status":"publish","type":"page","link":"https:\/\/www.menasoft.com\/blog\/?page_id=542","title":{"rendered":"DotChess"},"content":{"rendered":"\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"124\" height=\"114\" data-attachment-id=\"549\" data-permalink=\"https:\/\/www.menasoft.com\/blog\/?attachment_id=549\" data-orig-file=\"https:\/\/www.menasoft.com\/blog\/wp-content\/uploads\/2020\/07\/DotChess.png\" data-orig-size=\"124,114\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"DotChess\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/www.menasoft.com\/blog\/wp-content\/uploads\/2020\/07\/DotChess.png\" data-large-file=\"https:\/\/www.menasoft.com\/blog\/wp-content\/uploads\/2020\/07\/DotChess.png\" src=\"https:\/\/www.menasoft.com\/blog\/wp-content\/uploads\/2020\/07\/DotChess.png\" alt=\"\" class=\"wp-image-549\"\/><\/figure>\n\n\n\n<p>Copyright (c) 2020 Dennis Robinson (www.menasoft.com). All rights reserved.<br>Licensed under the MIT License. <a href=\"https:\/\/opensource.org\/licenses\/MIT\">https:\/\/opensource.org\/licenses\/MIT<\/a><br>Version 1.0.0.2<\/p>\n\n\n\n<p>DotChess is an open source chess rules engine written in C# .NET. (.Net Standard 2.0)<br>It is meant to be simple and readable source code. It values readability over speed.<\/p>\n\n\n\n<p>Sources are hosted on GitHub at <a href=\"https:\/\/github.com\/MenaceSan\/DotChess\">https:\/\/github.com\/MenaceSan\/DotChess<\/a><br>The secondary project documentation pages are at https:\/\/www.menasoft.com\/dotchess or https:\/\/www.menasoft.com\/blog\/?page_id=542<\/p>\n\n\n\n<p>This engine could be ported to C++ (relatively easily) for speed improvement.<br>It has no single GUI.<br>The consumer is meant to provide their own UI. The GUI might be some standalone app or might be a web site.<\/p>\n\n\n\n<p><strong>FEATURES:<\/strong><\/p>\n\n\n\n<p>Enforce all standard chess rules on all moves. (Castle, Enpassant, Check, Promotion, Stalemate)<br>Get a list of all valid moves from a board state for any \/ all pieces.<br>Reads\/Writes PGN files.<br>Opening Move Db with &gt; 50K master games.<br>Read\/Write FEN state<br>Score future moves for recommendation.<br>Unit Tests for coverage of all basic features.<br>Unit Test tool for regeneration of the opening moves db.<br>Multi threaded optimization for speeding up complex tests. Uses Parallel .NET name space.<\/p>\n\n\n\n<p><strong>TODO:<\/strong><\/p>\n\n\n\n<p>Better scoring optimization. Trimming futile score paths might be a huge CPU savings. Current scoring a rather brute force. So the results are good but expensive.<br>e.g. There are &gt; 5M brute force tests to be performed for looking ahead 4 moves on the opening board. Many of those test paths could be obviously discarded, resulting in far fewer tests.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Copyright (c) 2020 Dennis Robinson (www.menasoft.com). All rights reserved.Licensed under the MIT License. https:\/\/opensource.org\/licenses\/MITVersion 1.0.0.2 DotChess is an open source chess rules engine written in C# .NET. (.Net Standard 2.0)It is meant to be simple and readable source code. It values readability over speed. Sources are hosted on GitHub at https:\/\/github.com\/MenaceSan\/DotChessThe secondary project documentation pages [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"jetpack_post_was_ever_published":false,"footnotes":""},"class_list":["post-542","page","type-page","status-publish","hentry"],"jetpack_shortlink":"https:\/\/wp.me\/P5gVa-8K","jetpack_sharing_enabled":true,"jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/www.menasoft.com\/blog\/index.php?rest_route=\/wp\/v2\/pages\/542","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.menasoft.com\/blog\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.menasoft.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.menasoft.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.menasoft.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=542"}],"version-history":[{"count":8,"href":"https:\/\/www.menasoft.com\/blog\/index.php?rest_route=\/wp\/v2\/pages\/542\/revisions"}],"predecessor-version":[{"id":556,"href":"https:\/\/www.menasoft.com\/blog\/index.php?rest_route=\/wp\/v2\/pages\/542\/revisions\/556"}],"wp:attachment":[{"href":"https:\/\/www.menasoft.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=542"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}