Click here to Skip to main content
Click here to Skip to main content
Add your own
alternative version

Chess Program in C#

, 17 Mar 2013 GPL3
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
aaa.bak
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
SrcChess2.csproj.user
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="15.9960799217224" Height="14.882849574089">
      <Path Fill="Black" Stretch="Fill" Data="M6.76753,1.23044 C6.76752,1.02863 6.80333,0.85122 6.87495,0.69821 6.94655,0.54523 7.03933,0.41665 7.15327,0.31247 7.26719,0.20832 7.39577,0.1302 7.53901,0.0781 7.68223,0.026 7.82872,2.9582284E-31 7.97846,2.9582284E-31 8.12819,2E-05 8.27793,0.0261 8.42768,0.0781 8.57741,0.1302 8.71088,0.20669 8.82807,0.30759 8.94525,0.40852 9.04128,0.5371 9.11616,0.69333 9.19106,0.8496 9.22845,1.02863&#xD;&#xA;9.22846,1.23044 9.22845,1.55598 9.14706,1.81314 8.98432,2.00193 8.82155,2.19074 8.62624,2.32095 8.39839,2.39255 L9.51167,7.31443 11.05464,3.01755 C10.80723,2.93945 10.60866,2.79784 10.45893,2.59275 10.30918,2.38768 10.23431,2.14842 10.23432,1.87497 10.23431,1.67316 10.27172,1.49413 10.34663,1.33786 10.42153,1.18163 10.51914,1.05142 10.6396,0.94724 10.76003,0.84309 10.89349,0.76496 11.03999,0.71286 11.18646,0.66076 11.33457,0.63476 11.48432,0.63476 11.63405,0.63477 11.78379,0.66076 11.93354,0.71286 12.08327,0.76496 12.21673,0.84309&#xD;&#xA;12.33393,0.94724 12.45111,1.05142 12.54551,1.18163 12.61714,1.33786 12.68874,1.49413 12.72454,1.67316 12.72456,1.87497 12.72454,2.01821 12.70016,2.15819 12.65136,2.29489 12.60246,2.43163 12.53253,2.5537 12.4414,2.66111 12.3502,2.76854 12.23956,2.85969 12.10936,2.93454 11.97914,3.00944 11.83266,3.05663 11.66991,3.07614 L12.08007,7.49997 14.14061,4.34568 C13.9518,4.24152 13.80206,4.09341 13.6914,3.90134 13.5807,3.70929 13.52536,3.49608 13.52538,3.26169 13.52536,3.05988 13.56278,2.88247 13.63768,2.72946 13.71258,2.57648 13.80857,2.4479 13.92577,2.34372 14.04294,2.23957 14.17641,2.16144 14.32616,2.10935 14.47588,2.05725 14.62562,2.03125 14.77538,2.03125 14.9251,2.03127 15.07321,2.05735 15.21972,2.10935 15.36618,2.16145 15.49639,2.23957&#xD;&#xA;15.61034,2.34372 15.72426,2.4479 15.81703,2.57648 15.88866,2.72946 15.96026,2.88247 15.99606,3.05988 15.99608,3.26169 15.99606,3.41795 15.96838,3.56932 15.91308,3.71579 15.85768,3.86229 15.77797,3.9925 15.67382,4.10642 15.56963,4.22036 15.44268,4.30988 15.29296,4.37497 15.1432,4.44007 14.97393,4.47267 14.78515,4.47267 L14.61913,4.47267 13.80858,9.8047 13.80858,14.50197 C12.86456,14.63217 11.88962,14.7282 10.88378,14.79005 9.87791,14.85195 8.90948,14.88285 7.9785,14.88285 7.02146,14.88285 6.04816,14.85195 5.05858,14.79005 4.06899,14.72815 3.10545,14.63217 2.16796,14.50197 L2.16796,9.8047 1.37694,4.47267 1.21093,4.47267 C1.02212,4.47268 0.85285,4.44017 0.70311,4.37497 0.55337,4.30987 0.42642,4.22036 0.32225,4.10642 0.21809,3.9925 0.13833,3.86229 0.083,3.71579 0.0277,3.56932 3.9443045E-31,3.41795 3.9443045E-31,3.26169 3.9443045E-31,3.05988 0.0358,2.88247 0.10742,2.72946 0.17902,2.57648 0.27181,2.4479 0.38574,2.34372 0.49967,2.23957 0.62988,2.16144 0.77637,2.10935 0.92285,2.05725 1.07096,2.03125&#xD;&#xA;1.2207,2.03125 1.37044,2.03127 1.52018,2.05735 1.66992,2.10935 1.81966,2.16145 1.95312,2.23957 2.07031,2.34372 2.1875,2.4479 2.28352,2.57648 2.3584,2.72946 2.4333,2.88247 2.4707,3.05988 2.4707,3.26169 2.4707,3.49608 2.4154,3.70929 2.30469,3.90134 2.19401,4.09341 2.04427,4.24152 1.85547,4.34568 L3.91601,7.49997 4.32617,3.07614 C4.1634,3.05664 4.01692,3.00944 3.88672,2.93454 3.7565,2.85964 3.64583,2.76854 3.55469,2.66111 3.46349,2.5537 3.39355,2.43163 3.34473,2.29489 3.29593,2.15819 3.27153,2.01821 3.27153,1.87497 3.27153,1.67316 3.30733,1.49413 3.37896,1.33786 3.45056,1.18163 3.54497,1.05142 3.66216,0.94724 3.77934,0.84309 3.9128,0.76496 4.06255,0.71286 4.21228,0.66076 4.36202,0.63476&#xD;&#xA;4.51177,0.63476 4.65499,0.63477 4.80147,0.66076 4.95122,0.71286 5.10095,0.76496 5.23604,0.84309 5.35649,0.94724 5.47693,1.05142 5.57459,1.18163 5.64946,1.33786 5.72436,1.49413 5.76176,1.67316 5.76177,1.87497 5.76176,2.14842 5.68687,2.38768 5.53716,2.59275 5.38741,2.79784 5.18884,2.93944 4.94146,3.01755 L6.48442,7.31443 7.59771,2.39255 C7.36983,2.32095 7.17452,2.19074 7.01177,2.00193 6.849,1.81314 6.76762,1.55598 6.76763,1.23044 z" />
      <Path Fill="White" Stretch="Fill" Data="M7.4022997,9.64785 C7.0051605,9.64785 6.5705914,9.6558506 6.0985923,9.6722518 5.6265833,9.688553 5.1545842,9.7113546 4.6825851,9.7406567 4.2105761,9.7699588 3.758097,9.8073615 3.3251678,9.8529748 2.8922187,9.898578 2.5194994,9.9506818 2.207,10.009236 2.5390294,10.041738 2.9329086,10.07104 3.3886377,10.097142 3.8443668,10.123144 4.3114859,10.144346 4.7900049,10.160647 5.268514,10.176948 5.738893,10.188349 6.2011321,10.194849 6.6633612,10.20185 7.0702604,10.20485&#xD;&#xA;7.4218397,10.20485 7.773389,10.20485 8.1705182,10.20185 8.6132374,10.194849 9.0559365,10.188849 9.5116656,10.176948 9.9804247,10.160647 10.449164,10.144346 10.908143,10.126444 11.357372,10.106943 11.806581,10.087442 12.21348,10.06134 12.57808,10.028837 12.27858,9.9767336 11.915631,9.9279201 11.489212,9.8823369 11.062763,9.8367336 10.613543,9.7960307 10.141554,9.7602581 9.6695453,9.7244555 9.1942862,9.6967535 8.7157772,9.6772521 8.2372481,9.6577507&#xD;&#xA;7.799429,9.64795 7.4022997,9.64795 z M7.422,2.9590005 L6.162,8.5738499 C6.3768792,8.5668504 6.5917585,8.5624507 6.8066477,8.559151 7.0215269,8.5561512 7.2266343,8.5541513 7.422,8.5541513 z M10.57708,4.1600005 L9.1020799,8.5738516 C9.1671972,8.5738516 9.2453378,8.5758515 9.3365219,8.5788514 9.427646,8.5818512 9.5188501,8.585851 9.6100343,8.5888509 9.7011584,8.5918508 9.7874712,8.5958506 9.8688927,8.5988504 9.9503142,8.6018503 10.017022,8.6038502 10.069136,8.6038502 z M3.828,8.6428501 C3.9777253,8.6298493 4.1323405,8.6216489 4.2918455,8.6184487 4.4513405,8.6154485 4.6157253,8.6104482 4.785,8.6038479 L4.2381372,4.1700005 z M1.7166138E-08,2.5680005 C1.7166138E-08,2.7177198 0.05208935,2.8446438 0.15621803,2.9487825 0.2603567,3.0529412 0.3872907,3.1050105 0.53700005,3.1050005 0.68670939,3.1050105 0.81363339,3.0529112 0.91778207,2.9487825 1.0219207,2.8446438 1.0740001,2.7177198 1.0740001,2.5680005 1.0740001,2.4183011 1.0219107,2.2913771 0.91778207,2.1872185 0.81363339,2.0830898 0.68670939,2.0310105 0.53700005,2.0310005 0.3872907,2.0310105 0.2603567,2.0830898 0.15621803,2.1872185 0.052069354,2.2913771 1.7166138E-08,2.4183011&#xD;&#xA;1.7166138E-08,2.5680005 z M10.23408,1.1820004 C10.23406,1.3317198 10.286218,1.4586538 10.390445,1.5627824 10.494671,1.6669411 10.621715,1.7190104 10.771585,1.7190004 10.921415,1.7190104 11.048458,1.6669111 11.152715,1.5627824 11.256952,1.4586538 11.30907,1.3317198 11.30908,1.1820004 11.30907,1.0323011 11.256942,0.90537712 11.152715,0.80121846 11.048458,0.69708979 10.921415,0.64501046 10.771585,0.64500046 10.621715,0.64501046 10.494671,0.69708979 10.390445,0.80121846 10.286188,0.90537712 10.23406,1.0323011&#xD;&#xA;10.23408,1.1820004 z M6.768,0.53700049 C6.76799,0.68671983 6.8200932,0.81365384 6.9242296,0.91778251 7.0283761,1.0219412 7.1553095,1.0740105 7.30504,1.0740005 7.4547505,1.0740105 7.5816839,1.0219112 7.6858503,0.91778251 7.7899868,0.81365384 7.84207,0.68671983 7.84208,0.53700049 7.84207,0.38730115 7.7899868,0.26037714 7.6858503,0.15621847 7.5816839,0.052089795 7.4547505,1.0460485E-05 7.30504,4.6253209E-07 7.1553095,1.0460485E-05 7.0283761,0.052089795 6.9242296,0.15621847 6.8200632,0.26037714 6.76799,0.38730115&#xD;&#xA;6.768,0.53700049 z M3.272,1.1820004 C3.27199,1.3317198 3.3240898,1.4586538 3.4282195,1.5627824 3.5323591,1.6669411 3.6592843,1.7190104 3.808995,1.7190004 3.9587057,1.7190104 4.0856309,1.6669111 4.1897805,1.5627824 4.2939202,1.4586538 4.346,1.3317198 4.346,1.1820004 4.346,1.0323011 4.2939102,0.90537712 4.1897805,0.80121846 4.0856309,0.69708979 3.9587057,0.64501046 3.808995,0.64500046 3.6592843,0.64501046 3.5323591,0.69708979 3.4282195,0.80121846 3.3240598,0.90537712 3.27199,1.0323011&#xD;&#xA;3.272,1.1820004 z M13.52508,2.5680005 C13.52507,2.7177198 13.577218,2.8446438 13.681443,2.9487825 13.785669,3.0529412 13.912721,3.1050105 14.06258,3.1050005 14.212409,3.1050105 14.339461,3.0529112 14.443717,2.9487825 14.547942,2.8446438 14.60006,2.7177198 14.60008,2.5680005 14.60006,2.4183011 14.547942,2.2913771 14.443717,2.1872185 14.339461,2.0830898 14.212409,2.0310105 14.06258,2.0310005 13.912721,2.0310105 13.785669,2.0830898 13.681443,2.1872185 13.577188,2.2913771 13.52507,2.4183011&#xD;&#xA;13.52508,2.5680005 z M13.21308,5.5660005 L11.33808,8.6718476 C11.42918,8.6788485 11.53826,8.6818489 11.66523,8.6818489 11.79217,8.6818589 11.92075,8.6848493 12.05097,8.6918501 z M2.2070884,8.7208501 C2.2721792,8.7138488 2.3600568,8.7094481 2.4707211,8.7061475 2.5813854,8.703147 2.7018084,8.6981461 2.832,8.691545 L1.631,5.5660005 z M7.4022998,11.20085 C7.0051606,11.20085 6.5705914,11.208851 6.0985923,11.225252 5.6265833,11.241553 5.1545842,11.264355 4.6825851,11.293657 4.2105761,11.322959 3.758097,11.360361 3.3251678,11.405975 2.8922187,11.451578 2.5194994,11.503682 2.207,11.562236 2.5390294,11.594738 2.9329086,11.62404 3.3886377,11.650142 3.8443668,11.676144 4.3114859,11.697346 4.7900049,11.713647 5.268514,11.729948 5.7388931,11.741349 6.2011321,11.747849 6.6633612,11.75485 7.0702604,11.75785&#xD;&#xA;7.4218397,11.75785 7.773389,11.75785 8.1705183,11.75485 8.6132374,11.747849 9.0559365,11.740849 9.5116656,11.729948 9.9804247,11.713647 10.449164,11.697346 10.908143,11.679444 11.357372,11.659943 11.806581,11.640442 12.21348,11.61434 12.57808,11.581837 12.27858,11.529734 11.915631,11.48092 11.489212,11.435347 11.062763,11.389744 10.613543,11.349041 10.141554,11.313268 9.6695453,11.277466 9.1942862,11.249764 8.7157772,11.230262 8.2372481,11.210761&#xD;&#xA;7.799429,11.20096 7.4022998,11.20096 z M7.4022998,12.82185 C7.0051606,12.82185 6.5705914,12.829851 6.0985923,12.846252 5.6265833,12.862554 5.1545842,12.885356 4.6825851,12.914658 4.2105761,12.943961 3.758097,12.981364 3.3251678,13.026968 2.8922187,13.072573 2.5194994,13.124677 2.207,13.183232 2.5390294,13.215835 2.9329086,13.245038 3.3886377,13.27114 3.8443668,13.297143 4.3114859,13.318345 4.7900049,13.334646 5.268514,13.350948 5.7388931,13.362349 6.2011321,13.368849 6.6633612,13.37585 7.0702604,13.37885&#xD;&#xA;7.4218397,13.37885 7.773389,13.37885 8.1705183,13.37585 8.6132374,13.368849 9.0559365,13.361849 9.5116656,13.350948 9.9804247,13.334646 10.449164,13.318345 10.908143,13.300443 11.357372,13.280941 11.806581,13.26144 12.21348,13.235337 12.57808,13.202834 12.27858,13.15073 11.915631,13.101915 11.489212,13.056341 11.062763,13.010737 10.613543,12.970033 10.141554,12.93426 9.6695453,12.898457 9.1942862,12.870754 8.7157772,12.851253 8.2372481,12.831751&#xD;&#xA;7.799429,12.82195 7.4022998,12.82195 z" Margin="0.576,0.498,0.82,1.006" />
    </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
Canada Canada
Consyst is a Montréal-based company that focuses on the development of state of the art business solutions and productivity tools. In the last decade, Consyst has largely invested in the development of a powerful MDA® (Model Driven Architecture®) / ARAD (Architected Rapid Application Development) software tool, named REP++. REP++ contains a business rules management system, a rich program library as well as powerful frameworks. Better yet, REP++ uses a reflection approach. Reflection is the main advantage of the new .NET and J2EE platforms, and at the core of the Web Services success. Applying a reflection approach in our ARAD/MDA tool has driven our solution at the leading edge of tehnology and guarantees unequalled productivity gains. In fact, according to a recent study by Gartner Group, results showed productivity gains ranging from 2 to 1 to more than 15 to 1 with ARAD tools when compared to traditional application development tools.
 
Consyst’s REP++ solution is modular, installed effortlessly and progressively. It also seamlessly integrates to your current technology, office and information infrastructures. It reduces the migration effort to the new .NET and J2EE platforms and accelerates their learning. No other family of solutions solves so efficiently and without risks the issues of information systems management while offering such tangible benefits!
 

| Advertise | Privacy | Terms of Use | Mobile
Web04 | 2.8.1411023.1 | Last Updated 17 Mar 2013
Article Copyright 2009 by Jacques Fournier
Everything else Copyright © CodeProject, 1999-2014
Layout: fixed | fluid