Click here to Skip to main content
11,705,451 members (62,789 online)
Click here to Skip to main content
Add your own
alternative version

Chess Program in C#

, 8 Jan 2015 GPL3 337.6K 46.3K 459
SrcChess is a chess program built in C#
Article_demo-noexe.zip
111probs.pgn
Article_demo.zip
111probs.pgn
SrcChess2.exe
Article_src.zip
SrcChess2
Analyze.ruleset
Book.bin
PieceSets
Adventurer
Alpfonso-X
Alpha
Alpha-2
Arial Unicode MS
Berlin
Cases
Chess-7
Condal
Harlequin
Kingdom
Leipzig
Line
Lucena
Magnetic
Maya
Mediaeval
Merida
Millennia
Motif
MS Mincho
Plain
Segoe UI Symbol
Smart
Traveller Standard
Usual
Properties
Settings.settings
Resources
image.png
ChessProgram.zip
Article.zip
Article_demo.zip
Article_src.zip
<?xml version="1.0" encoding="utf-8"?>
<UserControl xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d" d:DesignWidth="400" d:DesignHeight="400" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation">
  <Viewbox Stretch="Uniform">
    <Grid Width="17.3602600097656" Height="16.1602799892426">
      <Path Fill="Black" Stretch="Fill" Data="M14.11987,15.02018 C14.11986,15.49992 13.26658,15.82646 11.56006,15.9998 10.79995,16.0665 10.20649,16.11333 9.77966,16.14018 L9.11987,16.16028 C8.93309,16.16028 8.78641,16.16028 8.67981,16.16028 6.66645,16.16028 5.11311,15.98694 4.01977,15.64026 3.51318,15.47994 3.25988,15.27324 3.25989,15.02014 3.25988,14.50013 3.39314,13.95346 3.65967,13.38013 3.833,13.03345 3.91967,12.77345 3.91968,12.6001 3.91967,12.24 3.5264,11.60666 2.73987,10.70008 2.28657,10.16664 2.05657,9.85322 2.04986,9.75983 2.04286,9.66643 1.99316,9.43991&#xD;&#xA;1.90002,9.0802 L1.5802,7.81983 C1.4866,7.46014 1.41316,7.14011 1.35986,6.85974 1.26666,6.31329 1.19995,5.77333 1.15967,5.23987 0.38655,4.8932 -3.1554436E-30,4.3799 -3.1554436E-30,3.69995 -3.1554436E-30,3.31341 0.13997,2.98342 0.41992,2.70996 0.69987,2.43654 1.03312,2.29982 1.41968,2.29981 1.79321,2.29982 2.11995,2.43654 2.3999,2.70996 2.67984,2.98342 2.81982,3.31341 2.81982,3.69995 2.81982,3.76675 2.79992,3.89996&#xD;&#xA;2.76002,4.09973 2.72012,4.36667 2.70022,4.55344 2.70022,4.66004 2.70022,5.37986 3.23346,6.29315 4.29995,7.3999 4.39315,6.58652 4.43972,5.87322 4.43972,5.26001 4.43972,4.51336 4.36652,3.97341 4.22,3.64014 4.11338,3.38665 3.95347,3.19338 3.74026,3.06031 3.43345,2.87355 3.28005,2.54681 3.28006,2.08008 3.28005,1.69354 3.41667,1.36354 3.68991,1.09009 3.96314,0.81667&#xD;&#xA;4.29975,0.67995 4.69973,0.67993 5.07326,0.67995 5.4,0.81667 5.67996,1.09009 5.9599,1.36354 6.09987,1.69354 6.09988,2.08008 6.09987,2.17328 6.07318,2.3399 6.01998,2.57996 5.96668,2.82005 5.93998,3.01332 5.93998,3.15979 5.93997,4.13311 6.39326,5.55991 7.29984,7.44019 7.40644,6.97348 7.54642,6.28012 7.71976,5.36011 7.79996,4.74692 7.83999,4.23362 7.84,3.82019&#xD;&#xA;7.83999,3.12685 7.71324,2.48679 7.45975,1.90003 7.35314,1.6734 7.29983,1.50677 7.29984,1.40015 7.29983,1.01361 7.43655,0.68361 7.71,0.41016 7.98343,0.13674 8.31342,2E-05 8.69999,1.7763568E-15 9.07351,2E-05 9.39354,0.13674 9.66007,0.41016 9.92658,0.68361 10.05984,1.01361 10.05985,1.40015 10.05984,1.53322 9.99985,1.74644 9.8798,2.0398 9.7333,2.39992 9.64663,2.62656&#xD;&#xA;9.61979,2.71973 9.56649,2.98667 9.53979,3.35349 9.53979,3.82019 9.53978,4.55344 9.63319,5.38677 9.81994,6.32019 9.88664,6.66688 9.96662,7.04022 10.05981,7.44019 10.95335,5.53346 11.40013,4.10667 11.40014,3.15979 11.40013,3.02675 11.37674,2.84354 11.32994,2.61017 11.28314,2.37683 11.25974,2.20013 11.25974,2.08008 11.25973,1.68011 11.39645,1.34676 11.6699,1.08002 11.94332,0.81331&#xD;&#xA;12.28003,0.67995 12.68003,0.67993 13.06657,0.67995 13.39657,0.81993 13.67002,1.09986 13.94344,1.37982 14.08016,1.70656 14.08018,2.08008 14.08016,2.54681 13.92676,2.88006 13.61997,3.07984 13.25985,3.31992 13.04643,3.72662 12.97971,4.29993 12.93981,4.56687 12.91991,4.89361 12.91991,5.28015 12.9199,5.86692 12.96651,6.5735 13.05968,7.3999 14.12656,6.29315 14.66001,5.37986 14.66002,4.66004&#xD;&#xA;14.66001,4.57984 14.64012,4.39312 14.60022,4.09973 14.55992,3.88653 14.53982,3.75327 14.53982,3.69995 14.53981,3.31341 14.67988,2.98342 14.96005,2.70996 15.24018,2.43654 15.56682,2.29982 15.93997,2.29981 16.32651,2.29982 16.65986,2.43654 16.94003,2.70996 17.22016,2.98342 17.36024,3.31341 17.36026,3.69995 17.36024,4.36688 16.97348,4.88018 16.19998,5.23987 16.16008,5.74647 16.08684,6.29315&#xD;&#xA;15.98025,6.87989 15.8602,7.54681 15.65349,8.40679 15.36014,9.45984 15.33324,9.56646 15.31644,9.66645 15.30974,9.75983 15.30274,9.85323 15.17311,10.0466 14.92003,10.33997 L14.61974,10.70008 C13.83318,11.63351 13.43991,12.26685 13.43993,12.6001 13.43991,12.74659 13.51983,12.99989 13.6798,13.35999 13.86655,13.78683 13.97987,14.05355 14.01976,14.16016 14.08646,14.40023 14.11985,14.6869 14.11986,15.02014 z" />
      <Path Fill="White" Stretch="Fill" Data="M-3.1554436E-30,0.82031 C-3.1554436E-30,1.07381 0.18677,1.20056 0.56031,1.20056 0.77352,1.20056 1.07676,1.18056 1.47004,1.14046 1.8633,1.10036 2.13989,1.08036 2.29981,1.08036 L3.80005,1.02056 C3.94653,1.00716 4.07328,1.00046 4.1803,1.00046 4.55342,1.00046 5.04007,1.02716 5.64026,1.08036 6.36006,1.12026 6.84671,1.14686 7.10022,1.16036 7.15352,1.16036 7.25015,1.16736 7.39014,1.18046 7.5301,1.19386 7.63345,1.20056 7.7002,1.20056 8.07331,1.20056 8.25988,1.0671 8.25989,0.80017 8.25988,0.53365 7.83324,0.32695 6.97998,0.18005 6.47338,0.08685 5.78674,0.02686&#xD;&#xA;4.92005,-1.4210855E-14 4.66654,-1.4210855E-14 4.40653,-1.4210855E-14 4.14002,-1.4210855E-14 2.31343,-1.4210855E-14 1.05346,0.14669 0.36011,0.44006 0.12003,0.54708 -3.1554436E-30,0.67383 -3.1554436E-30,0.82031 z" Height="1.201" Margin="4.56,0,4.54,2.239" VerticalAlignment="Bottom" />
      <Path Fill="White" Stretch="Fill" Data="M0.61951002,7.1334847E-08 C0.44616002,1.0071335E-05 0.29958002,0.060000071 0.17975002,0.18005007 0.059910022,0.30010007 2.216339E-08,0.44679007 2.216339E-08,0.62011007 2.216339E-08,0.79347007 0.059900022,0.94351007 0.17975002,1.0702501 0.29958002,1.1970101 0.44616002,1.2603901 0.61951002,1.2603701 1.01949,1.2603901 1.21948,1.0469701 1.21948,0.62011007 1.21948,0.20672007 1.01949,1.0071335E-05 0.61951002,7.1334847E-08 z" HorizontalAlignment="Left" Height="1.26" Margin="0.8,3.08,0,0" VerticalAlignment="Top" Width="1.22" />
      <Path Fill="White" Stretch="Fill" Data="M0.63964,3.4294132E-08 C0.21321,1.0034294E-05 -9.9996483E-06,0.20652003 3.5172842E-10,0.61950003 -9.9996483E-06,1.04636 0.21321,1.25978 0.63964,1.25976 1.03962,1.25978 1.23961,1.04636 1.23962,0.61950003 1.23961,0.20652003 1.03962,1.0034294E-05 0.63964,3.4294132E-08 z" HorizontalAlignment="Left" Height="1.26" Margin="4.06,1.5,0,0" VerticalAlignment="Top" Width="1.24" />
      <Path Fill="White" Stretch="Fill" Data="M0.59997,3.4294132E-08 C0.44005,1.0034294E-05 0.30007,0.063300034 0.18005,0.18982003 0.060000005,0.31638003 -1.9995003E-05,0.45961003 4.9966609E-09,0.61950003 -1.9995003E-05,1.04636 0.19997,1.25978 0.59997,1.25976 1.01337,1.25978 1.22007,1.04636 1.22009,0.61950003 1.22007,0.20652003 1.01337,1.0034294E-05 0.59997,3.429413E-08 z" HorizontalAlignment="Right" Height="1.26" Margin="0,1.5,4.06,0" VerticalAlignment="Top" Width="1.22" />
      <Path Fill="White" Stretch="Fill" Data="M0.59998,7.1334847E-08 C0.19998,1.0071335E-05 -9.999625E-06,0.20672007 3.7499248E-10,0.62011007 -9.999625E-06,1.0469701 0.19998,1.2603901 0.59998,1.2603701 1.01337,1.2603901 1.22008,1.0469701 1.2201,0.62011007 1.22008,0.44679007 1.1601,0.30010007 1.04004,0.18005007 0.91999,0.060030071 0.7733,1.0071335E-05 0.59998,7.1334847E-08 z" HorizontalAlignment="Right" Height="1.26" Margin="0,3.08,0.8,0" VerticalAlignment="Top" Width="1.22" />
      <Path Fill="White" Stretch="Fill" Data="M0.62012,-3.6395947E-23 C0.44677,2E-05 0.30008,0.06 0.18006,0.18005 0.060010001,0.3001 -9.9987504E-06,0.44679 1.2495995E-09,0.62012 -9.9987504E-06,0.78004 0.060000001,0.92337 0.18006,1.05011 0.30008,1.17687 0.44677,1.24025 0.62012,1.24023 1.02009,1.24025 1.22008,1.03354 1.22009,0.62012 1.22008,0.44679 1.16009,0.3001 1.04004,0.18005 0.91999,0.06003 0.78002,2E-05 0.62012,-3.6395947E-23 z" Height="1.24" Margin="8.08,0.74,8.06,0" VerticalAlignment="Top" />
      <Path Fill="White" Stretch="Fill" Data="M9.02038,0.79956042 C9.02037,0.50660042 8.56037,0.29338042 7.64038,0.15991042 6.85342,0.05331042 5.81338,1.0420227E-05 4.52026,4.2022708E-07 3.22712,1.0420227E-05 2.18037,0.06000042 1.38,0.18005042 0.45999,0.32654042 -9.9996486E-06,0.53976042 3.5140157E-10,0.81970042 -9.9996486E-06,1.0597804 0.21341,1.1798104 0.64025,1.1798104 0.86689,1.1798104 1.1802,1.1666104 1.5802,1.1401104 2.03348,1.0998104 2.34679,1.0730104 2.52014,1.0595104 L4.14001,0.99971042 C4.30032,0.99972042 4.4405,0.99972042 4.56054,0.99971042 5.13385,0.99972042 6.01378,1.0398104 7.20031,1.1199504 7.41352,1.1199604 7.73354,1.1331504 8.1604,1.1596504 8.28042,1.1730504 8.36709,1.1797504 8.42041,1.1797504 8.82037,1.1797504 9.02037,1.0530104 9.02038,0.79950042 z" Height="1.18" Margin="4.18,0,4.16,5.3" VerticalAlignment="Bottom" />
    </Grid>
  </Viewbox>
</UserControl>

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The GNU General Public License (GPLv3)

Share

About the Author

Jacques Fournier
Web Developer Consyst SQL
Canada Canada
Consyst is a dynamic IT company specialized for more than 20 years in information technology architecture and in the development of innovative productivity tools for businesses. Rep++, the product at the core of its mission, can significantly accelerate the development cycle of applications and services by reducing the duration of the design, coding, testing and maintenance stages.
Rep++ uses a model-driven approach supported by a powerful model execution mechanism. Essential complement to Visual Studio® (Microsoft®), Rep++ includes: an open and centralized model that is used to define, contain and manage all the metadata of an application set; toolkits and application frameworks that implement various flavors of the presentation layer; and specialized assistants that simplify the creation of applications and services for a variety of architectures and technologies. These elements provide a very high automation level, which enable businesses to focus their development efforts on where it counts: their business rules.

You may also be interested in...

| Advertise | Privacy | Terms of Use | Mobile
Web04 | 2.8.150819.1 | Last Updated 8 Jan 2015
Article Copyright 2009 by Jacques Fournier
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid