Anything related in any way to game development as a whole is welcome here. Tell us about your game, grace us with your project, show us your new YouTube video, etc.
I've almost completed what I set out to do with this chess program, I only have checking left to implement, I might do AI in this project or I might restart and make it more AI friendly. I thought now would be a good time to release a preview of what the game is like, I know that the game works in xp, vista, and ubuntu. Try it out and if you find any bugs, or I am missing something let me know.
While in game mode:
b = enable/disable blind chess (c still displays attacking squares when enabled)
c = enable/disable attacking squares (pretty much what I used to make sure everything is working)
t = output text version of board
l = enable/disable legal moves
e = go to edit mode
2 = change promotion piece to knight
3 = change promotion piece to bishop
4 = change promotion piece to rook
5 = change promotion piece to queen
while in edit mode:
s = save position
o = open position
tab = change player
1 = change selected piece to pawn
2 = change selected piece to knight
3 = change selected piece to bishop
4 = change selected piece to rook
5 = change selected piece to queen
6 = change selected piece to king
Last edited by cndr on Fri Jun 25, 2010 10:42 pm, edited 11 times in total.
I was thinking about adding pgn support, but I have not solved how to do it yet, as for taking back moves I have an idea on how to do it, I'll do some testing on it after I finish up some code.
I think I might pretty much restart my project, and change everything to bit boards, and get it all ready for AI, I might post my source code for my the chess project in the links, if there is any interest of course.
=S school wont let me DL the file. Will DL and try at home :p
Greatness comes once every lifetime, as the nice lord bj proves this, nobody can be great more than once in their lifetime, he had his day, his birth was great. It caused awesomeness to die, and programmers to shudder. For a day that is...
it's coming along, I haven't really had a good chance to program, but I have bit boards almost implemented, and am going to use them for the checking system I think, I'll see what else I can improve with them after thats all taken care of.
Checking is now implemented, the only thing left to do is checkmate and stalemate. If you find any glitches with the code please tell me, I should note that if you turn off legal moves, checking still works, I will be fixing that next update. I have separated the downloads in case you already have the SDL dlls on your computer, or if you choose to edit the pictures to your liking and want the originals. All the art in the project is now original artwork, its not the greatest artwork but I think it will do until I get farther along in the project.
I just took a look at your images and wow those are some really nice pieces. I like how almost everything appears to have eyes. Well done! looking forward to future updates.
thanks for the feedback, I have found some bugs in the program, and am repairing them, one you might notice is if you have a knight on f3 and try to move to h2 it wont work in the version I have out, already fixed it though. I've been doing some reworking of some functions, and messed up checking somehow, so I've got to fix that, then I'll be back on course to do checkmate and stalemate, already figured out how to do them, just have to write some function, I've also noticed that somehow I drew the board wrong, and have the numbers at the bottom, will have to change that too. If you look closely at the king queen and knight, you will notice that they indeed have eyes.
edit: just finished fixing all known bugs, finally working on stalemate.
I finally have checkmate and stalemate working, I'm going to fix two bugs, and then the program should be ready to be uploaded. I'm not sure what I want to work on next, AI or a position editor. I'm thinking AI because I think it will be more fun, and I know nothing about map/position editors.
edit: all files are updated, there are some new pictures, I changed the board that is used, so the numbers are on the left and letters are on the bottom. I've also added pictures to show when a player is stalemated or checkmated.