Click here to Skip to main content
11,570,352 members (59,211 online)
Click here to Skip to main content
Add your own
alternative version

Chess Program in C#

, 8 Jan 2015 GPL3 326.8K 45.4K 453
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="16.1068005561829" Height="16.1487627029419">
      <Path Fill="Black" Stretch="Fill" Data="M4.4661504,10.494463 C4.3750504,10.592163 4.3017604,10.662113 4.2464304,10.704423 4.1910304,10.746723 4.1406304,10.787423 4.0950604,10.826493 4.0364604,10.878593 3.8281304,11.093433 3.4700604,11.471033 3.3203104,11.627283 3.1412804,11.731453 2.9329504,11.783533 2.7832104,11.822633 2.5911504,11.806333 2.3567804,11.734733 1.5429704,11.519893 0.90170037,11.090203 0.43295037,10.445663 0.24415037,10.204793 0.11231037,9.9134531 0.037440372,9.5716431 -0.037459628,9.2298531 4.0371678E-05,8.7952831&#xD;&#xA;0.14975037,8.2679331 0.29297037,7.7275831 0.80730037,7.1188531 1.6927204,6.4417631 2.6627604,5.7060931 3.2356804,5.1169031 3.4114704,4.6741831 3.5546904,4.4202931 3.7174504,4.1403431 3.8997504,3.8343431 4.0820304,3.5283631 4.3001304,3.2321431 4.5540404,2.9456631 4.7102904,2.8350031 4.8584004,2.7064231 4.9983804,2.5599231 5.1383504,2.4134531 5.2799504,2.2620931 5.4231804,2.1058231 L5.4231804,0.90465312 C5.7877604,0.97625312 6.0481804,1.0804531 6.2044304,1.2171531 6.2825304,1.3017531 6.3704404,1.3799331 6.4681104,1.4515231 6.5657104,1.5231231 6.6536404,1.6012831 6.7317804,1.6859031 6.8945304,1.3929531 6.9987004,1.1488131 7.0442804,0.95348312 7.0502804,0.90788312 7.0719804,0.81678312 7.1077804,0.68004312 7.1435804,0.54334312 7.1809804,0.31873312 7.2200804,0.0062131245 7.3176804,-0.013286875 7.4023604,0.013213125 7.4739904,0.084313125 7.7799704,0.41636312 8.0664204,0.79396312&#xD;&#xA;8.3333604,1.2171231 9.5247604,1.6924031 10.61362,2.2555531 11.59996,2.9065731 12.58628,3.5576331 13.33986,4.2347131 13.8607,4.9378231 15.35808,6.9690831 16.10678,9.9508531 16.1068,13.883133 16.10678,14.709963 16.0645,15.465173 15.97985,16.148763 L2.6497704,16.148763 C2.5651704,15.302413 3.0143504,14.403973 3.9974204,13.453453 4.4401304,13.023763 4.9007404,12.607103 5.3792604,12.203453 5.8577704,11.799813 6.3248904,11.389653 6.7806304,10.972983 7.6269704,10.191743 8.0957204,9.5667431 8.1868804,9.0979831 8.1542804,9.0198831 8.0924804,8.9677831 8.0013304,8.9417331 7.7734604,9.0784631 7.5455904,9.1663531 7.3177404,9.2054031 7.0898604,9.2445031 6.8652504,9.2705031 6.6439104,9.2835031 6.5006704,9.2905031 6.3590704,9.2949031&#xD;&#xA;6.2191004,9.2981031 6.0791204,9.3011031 5.9147304,9.2704031 5.7259404,9.2053031 5.4720304,9.4917731 5.2555504,9.7375331 5.0765304,9.9426131 4.8974804,10.147693 4.6940304,10.331613 4.4661704,10.494363 z" />
      <Path Fill="White" Stretch="Fill" Data="M3.4501294,8.94529 C3.7626194,8.72395 3.9855994,8.4912 4.1190694,8.24705 4.2525294,8.00292 4.4364494,7.77017 4.6708294,7.54881 4.6768294,7.47071 4.6871294,7.3828 4.7001294,7.28514 4.7131294,7.18744 4.7261294,7.08332 4.7392294,6.97264 4.7848294,6.92704 4.8206294,6.90104 4.8466494,6.89454 5.0354494,6.83594 5.1461194,6.92054 5.1786794,7.14845 5.1786794,7.21355 5.1736794,7.27704 5.1640794,7.33888 5.1540794,7.40078 5.1560794,7.45445&#xD;&#xA;5.1690794,7.50001 5.2081794,7.54561 5.3546194,7.59441 5.6085294,7.64649 6.5460194,7.67909 7.4086494,7.32749 8.1964194,6.59181 8.1964094,6.58581 8.2176194,6.55601 8.2599194,6.50391 8.3022194,6.45181 8.3266194,6.41931 8.3331194,6.40621 8.5284194,6.11325 8.6846694,5.50453 8.8018694,4.58004 8.8148694,4.55404 8.8506694,4.52474 8.9092894,4.49214 9.0785494,4.43354 9.1859694,4.51814 9.2315594,4.74604 9.1729594,5.5859&#xD;&#xA;9.0459994,6.18486 8.8506994,6.54292 8.7465194,6.73173 8.6293294,6.89775 8.4991394,7.04097 8.6097994,6.98237 8.7204794,6.92704 8.8311694,6.87495 8.9418294,6.82285 9.0492494,6.76428 9.1534294,6.69917 9.4854494,6.49736 9.7230794,6.10673 9.8663194,5.52729 9.9379194,5.40361 10.042089,5.34827 10.178819,5.36128 10.322039,5.38728 10.377379,5.49475 10.344839,5.68354 10.195089,6.49736 9.8760794,7.0247 9.3878094,7.26558&#xD;&#xA;9.2315494,7.34368 9.0736694,7.4137 8.9141794,7.47554 8.7546594,7.53734 8.6000394,7.59762 8.4503094,7.6562 8.8344094,7.6367 9.2510794,7.5748 9.7003094,7.47065 9.7849094,7.47066 9.8435194,7.50645 9.8760894,7.57808 9.9346894,7.70829 9.8730894,7.82548 9.6905394,7.92964 8.7725594,8.18355 8.1898794,8.29748 7.9424994,8.27143 7.7666994,8.82483 7.3370194,9.43355 6.6534294,10.09761 6.2758194,10.4622 5.8851994,10.81539&#xD;&#xA;5.4815594,11.15718 5.0778994,11.49898 4.6807694,11.83915 4.2901494,12.17768 3.4242594,12.93941 2.8969194,13.68159 2.7081194,14.40425 4.1989994,14.41125 5.4375994,14.41425 6.4239394,14.41425 7.4102594,14.41426 8.3168294,14.41426 9.1436694,14.41425 9.9704794,14.41426 10.803809,14.41225 11.643669,14.40925 12.483499,14.40625 13.505629,14.40425 14.710069,14.40425 14.801169,14.40425 14.838639,14.24149 14.822379,13.91597 14.806079,13.59045&#xD;&#xA;14.781679,13.28771 14.749179,13.00776 14.397599,13.04686 14.065569,12.86291 13.753079,12.45601 13.440569,12.04911 13.297339,11.58199 13.323389,11.05464 13.330389,9.68746 13.243589,8.45536 13.064609,7.35835 12.885549,6.26135 12.532359,5.30921 12.005039,4.5019 11.145649,3.19983 9.7817194,2.09306 7.9132394,1.18159 7.8872394,1.34437 7.8578394,1.49411 7.8253394,1.63081 7.7732394,1.83916 7.6755894,1.90752 7.5323694,1.83589&#xD;&#xA;7.3956394,1.79029 7.3240294,1.70244 7.3175294,1.57222 7.3435294,1.45504 7.3598294,1.36715 7.3663294,1.30854 7.3593294,1.28904 7.3533294,1.26464 7.3468294,1.23534 7.3398294,1.20604 7.3368294,1.17844 7.3368294,1.15234 7.2717294,0.81382 7.0861694,0.4297 6.7801894,1.6543612E-23 6.7280894,0.27345 6.6760094,0.459 6.6239394,0.55664 6.5718394,0.65434 6.5262394,0.73895 6.4872194,0.81055 6.4156194,0.91473 6.3521194,1.01564&#xD;&#xA;6.2967894,1.11328 6.2413894,1.21098 6.1779594,1.31837 6.1063594,1.43555 6.0347594,1.35745 5.9582394,1.26466 5.8768694,1.15723 5.7954694,1.04982 5.7222294,0.95705 5.6571394,0.87891 5.5985394,0.82031 5.5415694,0.76336 5.4862394,0.70801 5.4308394,0.65271 5.3250994,0.60549 5.1688594,0.56641 5.3055694,1.07423 5.2697594,1.42254 5.0614394,1.61133 4.9572594,1.71551 4.8433294,1.85386 4.7196394,2.02637 4.5959294,2.19891&#xD;&#xA;4.4559594,2.35679 4.2997194,2.5 4.2085194,2.5977 4.0962594,2.70998 3.9627994,2.83691 3.8293294,2.96388 3.7170294,3.12827 3.6258894,3.33008 3.5021894,3.7077 3.2596694,4.08693 2.8983494,4.46777 2.5370194,4.84864 2.1415094,5.23113 1.7118294,5.61523 0.77431944,6.44858 0.24371944,7.05405 0.12002944,7.43164 -0.049240556,7.88738 -0.039480556,8.33009 0.14932944,8.75977 0.32509944,9.14389 0.56598944,9.39454 0.87197944,9.51172&#xD;&#xA;1.0542694,9.58332 1.2788794,9.44662 1.5458094,9.10156 1.8322594,8.75652 2.0210694,8.59701 2.1122194,8.62305 2.2814794,8.66865 2.3368194,8.78907 2.2782294,8.98438 2.2457294,9.09506 2.1415094,9.25456 1.9657294,9.46289 1.7834394,9.66472 1.6890394,9.79818 1.6825294,9.86328 1.6499294,9.94138 1.7150294,10.00326 1.8778394,10.04883 2.0796594,10.10093 2.4572594,9.85678 3.0106494,9.31641 3.0757494,9.25131 3.1457394,9.19109&#xD;&#xA;3.2206194,9.13574 3.2955194,9.08044 3.3719794,9.01693 3.4501094,8.94531 z" Margin="0.694,1.08,0.587,0.654" />
      <Path Fill="Black" Stretch="Fill" Data="M0.6275819,1.0189973 C0.5754819,1.0840973 0.5071419,1.1459573 0.4225119,1.2045373 0.2402119,1.3412673 0.1100019,1.3282473 0.031881896,1.1654373 -0.013718104,1.0873373 -0.010418104,0.96687726 0.041881896,0.80410726 0.1329819,0.72600726 0.1948719,0.67390726 0.2274219,0.64785726 0.4292419,0.40698726 0.5952619,0.19539726 0.7254719,0.013097257 0.7905719,9.7257495E-05 0.8394019,-0.0032027425 0.8719519,0.0030972575 1.0998219,0.042197257 1.1584119,0.18214726 1.0477419,0.42301726 0.9891419,0.54021726 0.9191519,0.64601726&#xD;&#xA;0.8377819,0.74040726 0.7563819,0.83480726 0.6864019,0.92758726 0.6278119,1.0187273 z" HorizontalAlignment="Left" Height="1.299" Margin="1.27,0,0,6.703" VerticalAlignment="Bottom" Width="1.102" />
      <Path Fill="Black" Stretch="Fill" Data="M2.3162843E-07,0.7813 C0.13020023,0.37767 0.37760023,0.15957 0.74219023,0.127 0.98957023,0.1075 1.2044202,0.0977 1.3867202,0.0977 1.5690002,0.09771 1.7643102,0.0652 1.9726602,-1.9852335E-23 1.7643102,0.58595 1.5266802,0.96681 1.2597602,1.14258 1.1165302,1.22728 0.91796023,1.27931 0.66406023,1.29883 0.47525023,1.31183 0.32877023,1.29884 0.22461023,1.25973 0.12043023,1.22063 0.045570232,1.06117 2.3162843E-07,0.78121 z" HorizontalAlignment="Left" Height="1.304" Margin="4.788,4.049,0,0" VerticalAlignment="Top" Width="1.973" />
    </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
Web03 | 2.8.150624.2 | Last Updated 8 Jan 2015
Article Copyright 2009 by Jacques Fournier
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid