Advertisement

Excellent Chess Programming Tutorial

Started by October 16, 2003 10:27 PM
19 comments, last by Russell 21 years ago
quote: Original post by Russell
Someone posted this at at www.talkchess.com forum. I haven''t read all of it yet, but it looks like a very good introduction to computer chess programs (and other similar programs, such as checkers, go, or whatever). It seems to cover quite a lot and seems pretty easy to understand.

http://www.cs.man.ac.uk/~schalk/3192/large.pdf
Is it just me or is it completely stupid that it looks like they converted a ppt file to a pdf file?
____________________________________________________________AAAAA: American Association Against Adobe AcrobatYou know you hate PDFs...
I really hope that all of the people responding to these chess threads will write their own chess programs.

Maybe we could have a GameDev computer chess competition sometime in March or April. This should give everybody enough time to get the code running. Russel would not be allowed to play. (kidding)

Will




------------------http://www.nentari.com
Advertisement
quote: Original post by RPGeezus
i & 0x88 == 0

This is a bitwise comparision of 'i' to the hexidecimal number 0x88. If i is different in anyway than 0x88 then the answer will be 0 (false).

ie: 0x1 & 0x2 == 0

001 AND
010
-----
011

The answer would be 3.


(clarification)
I just want to clarify something: Yes (pseudo quote)"If i is different in any way than 0x88 the answer will be 0 (false)."
this is true! To avoid confusion though
0x1 & 0x2 == 0 is true
His math is for either and add or a bitwise OR though.
Bitwise AND is, if either the bits (in the column) are 0, the resulting bit is 0 (or you could think of it as 'multiply each column')

001 AND
010
-----
000

(/clarification)

-Michael

[edited by - Thr33d on October 31, 2003 1:53:39 PM]
quote: Original post by Raloth
Is it just me or is it completely stupid that it looks like they converted a ppt file to a pdf file?


Yeah, right, it''s "stupid" to convert a format that not everyone can view to a format that almost anyone can view.
quote:
001 AND
010
-----
011


LOL. I can''t believe I didn''t see this. I must have been half out of it that day. Sorry for the confusion.

Will
------------------http://www.nentari.com
quote:
Here's how the matrix trilogy will end... ( in el cheapo Hollywood style) Keanu Reeves (Neo) will wake up in bed and realize this is just a dream. In the bed next to Keanu is Buffy the Vampire Slayer(Sarah Michelle Geller) who is still sleeping. Keanu nudges her, she wakes and realizes this is just a dream. When Buffy wakes up she is in Bed next to comedian Bob Newhart("The Bob Newhart Show"), who is sleeping. When Buffy wakes him up, Bob realizes this is just a dream and wakes up in Bed next to Keanu Reeves. more to follow...


Sorry Russel this is from the other thread your posted ealier,
seems as if your source was feeding you incorrect info because nothing like that happened or the source was just feeding you junk deliberately what do you think?

=============================
Andrew Schwartz Moagi

[edited by - Druzzer007 on November 5, 2003 2:09:21 PM]

[edited by - Druzzer007 on November 5, 2003 2:11:11 PM]
=============================Andrew Schwartz Moagi
Advertisement
By the way in the matrix Revolutions those guys refer to those semi-robots as APUs, what exactly does this stand for?Anyone help me.

=============================
Andrew Schwartz Moagi
=============================Andrew Schwartz Moagi
There are so many stories about the origins of chess, i want to know exactly if anyone can help with a valid proof whether this is the oldest board game played today and where it orinated from i have read many literature which contradicts itself i hope you guys can help me.
=============================Andrew Schwartz Moagi
quote: Original post by Jolle
quote: Original post by Raloth
Is it just me or is it completely stupid that it looks like they converted a ppt file to a pdf file?


Yeah, right, it''s "stupid" to convert a format that not everyone can view to a format that almost anyone can view.


powerpoint viewer is downloadable from Mickersoft site. I mean that Redmont one. And I think ppt would be MUCH shorter than pdf. at least for my poor dial up. Or even better write it in Java and it would have something like 150 kB. (including pictures.)
Ooh, excellent. I was working on a chess program a while back before I stopped for some reason. I have all the pieces moving properly, which was quite difficult (especially the bishops!). Players still can''t do the special types of moves, like castling or Enpasant with pawns, and there is no checks to see if the king is in check. Should be pretty easy, right?
After I get a working board, I have to add in the AI. I''m not really sure what I''d do, but I have a rough idea for a heurustics algorithm. Would it be feasible to learn neural networks so a chess program will "learn" how to play chess? what about opening games? would I have random scripted openings for the first few moves?
I would take up a challenge to script an AI for chess to play someone else''s AI script. Kinda like that robot-wars show on tv, but with AI algorithms. any takers?

~Slayemin

This topic is closed to new replies.

Advertisement