Well I don't have any specific question. I've been writing a chess game and can't seem to figuire out what the problem is with it! I tried debugging it for a few hours now and am about to give up altogether and rewrite it. The problem occurs seemingly randomly when the king is moved (on either team). It throws an access violation for some reason...and I can't seem to figuire out the exact circumstances that trigger it. I'm thinking the problem lies in the recent (and still pretty sloppy) additions of check, checkmate, and castling. Any help would be appreciated!! I would post the code but the project is pretty big at this point, so it's probably easiest just to download it (Project is attached). Thanks!
skatamatic 371 Practically a Posting Shark
Recommended Answers
Jump to PostYour zip file appears to be corrupt. At least according to my copy of WinZip.
Jump to PostAnd it seems you have archives within archives within archives?
And, shouldn't there be some implementation files for the various classes?
Jump to PostGenerally it's a good idea to abstract the problem into as simple and small piece of source code that you can rather than upload your entire project. This way when an answer is obtained, it will help others in the future as well, rather than just help the king move …
All 10 Replies
vmanes 1,165 Posting Virtuoso
MatEpp 11 Junior Poster in Training
skatamatic 371 Practically a Posting Shark
vmanes 1,165 Posting Virtuoso
u8sand 68 Junior Poster
skatamatic 371 Practically a Posting Shark
skatamatic 371 Practically a Posting Shark
daviddoria 334 Posting Virtuoso Featured Poster
skatamatic 371 Practically a Posting Shark
robab 0 Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.