PDA

View Full Version : Chess engine



coconutkid
11-21-2004, 09:27 AM
Im working on a chess engine written in C++. I have alot of it done, but there are functions that are not done yet. Mainly the is_check functions that check for kings in check. I have an algorithm that will search for 20 ply moves deep in 1 minute! Thats pretty fast. The Algorithm is weak compaired to normal chess engines, but the quicker depth searches will make up for it. If you are interested in helping me, and you have chess programming knowledge, then give me an email, harley2063@hotmail.com
Thanks!

Govtcheez
11-21-2004, 09:33 AM
This is very much the wrong place for this post.

coconutkid
11-21-2004, 09:58 AM
Im recruiting someone to help me in my project, thats not projects and recuitments?!?!?!??! Will you mods GIVE IT A REST???

coconutkid
11-21-2004, 09:59 AM
Im gonna laugh when they move it back to projects. Fight it out.

Govtcheez
11-21-2004, 10:11 AM
Someone else moved it here, so I'll leave it, but I still maintain you're just asking for someone to write your program for you.

Also, take a damn ritalin, kid.

coconutkid
11-21-2004, 11:32 AM
Its a project. Weather that means a group of people contribute, write it all on their own, or what, that is up to them. I would like to take a part in the making of it, so no, im not asking someone to program the whole thing. Do all the work? This isnt a schoolwork assignment. This is a personal project, and if someone wants to help that has more chess programming knowledge than I do (Which isnt much ill admit), then thats cool. I have alot of good ideas, but I am asking for help to implement them. Thanks for your concern.

Ritalin doesnt work in these cases. Take that as it fits.

coconutkid
11-21-2004, 11:34 AM
Oh and btw, starting a project IS asking for someone to write a program, is it not? Is this not a programming forum? Do people not get together and write programs? Im not saying leave me out of it, include me, but by all means, think what you want to think, make sure you color me as someone that wants someone else to do all the work, if that covers your personal embarrasment at another mod putting my post back where it belongs.

Salem
11-21-2004, 12:01 PM
> Is this not a programming forum?
The C and C++ forums are for people to ask for help on specific programming topics - ones which don't take too long to answer.

You're looking for a few people to undertake an extended development, so its in the right place as far as I'm concerned.

axon
11-21-2004, 01:50 PM
coconutkid, show us what you have so far....I doubt you will "recruit" andyone to "help" you without showing any code.

Govtcheez
11-21-2004, 01:58 PM
Especially considering two days ago you had no idea how to make and engine.

http://cboard.cprogramming.com/showthread.php?t=58808

axon
11-21-2004, 02:06 PM
Especially considering two days ago you had no idea how to make and engine.

http://cboard.cprogramming.com/showthread.php?t=58808


hahahaha....good catch GC. Now lets think of possible stories that coconutkid will come up with eh. Or maybe we should speculate how he obtained the algorithm he described.

Hey coconut kid, what is the time complexity of your algorithm to decide the move?

Govtcheez
11-21-2004, 02:19 PM
>Hey coconut kid, what is the time complexity of your algorithm to decide the move?

20 moves ahead in a minute, duh.

Thantos
11-21-2004, 02:21 PM
Pfffft too easy.

/me begins to chant "Lock lock lock. Lock lock lock"

Sang-drax
11-21-2004, 05:16 PM
Well it's not very hard to make an engine that searches 20 moves deep. In fact, I could make it much faster than one minute. Under one second would be easy. The problem is that you need to search every move.

Deep blue searched 12 moves deep, if my 10 seconds google research is correct.

coconutkid
11-22-2004, 01:27 AM
Its simple really. I know how to make parts of a chess engine. That means, I dont know how to make an engine. Confused? An engine is a whole engine, parts of an engine is not a whole engine, therefore, i dont know how to make one. Or else i wouldnt be asking for help now would I? I dont need to finish the engine to tell how fast my algortihm is. I know how many combinations of moves per second the average computer can do. I also know how many combinations are in my 'pruned' 20 ply search. 20 ply means 10 moves per side, it DOES NOT mean you have searched all of them and their children! Ply means a half move or a move for one side. When you discuss your algorithm, usually you will say, "I search every possible move for 10 ply deep". I never said I search every possible move, cause it would be IMPOSSIBLE dude to search 20 ply in one minute, unless you have a REALLY freaking fast computer.
So the deal is, I have a skeleton of a program, lots of functions missing, want some help, thats all.
As for posting my code, if anyone is interested, leave me an email, and ill send the code to you. If you REALLY want to help, then you will discover the secret of my algorithm, cause we are gonna have to program it into the engine. If you just want the algorithm, and you are pretending to help, dont waste my time :p
email: harley2063@hotmail.com

Govtcheez
11-22-2004, 05:42 AM
> In fact, I could make it much faster than one minute. Under one second would be easy.

What are you talking about? Clearly,

> cause it would be IMPOSSIBLE dude to search 20 ply in one minute,

sang-drax I think it's time for you to bow down to coconutkid and accept that he's just better than you.

coconutkid
11-22-2004, 07:30 AM
Word!