Thread: Chess engine

  1. #1
    Registered User
    Join Date
    Nov 2004
    Posts
    20

    Chess engine

    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, [email protected]
    Thanks!

  2. #2
    Mayor of Awesometown Govtcheez's Avatar
    Join Date
    Aug 2001
    Location
    MI
    Posts
    8,823
    This is very much the wrong place for this post.

  3. #3
    Registered User
    Join Date
    Nov 2004
    Posts
    20

    Uhhhh

    Im recruiting someone to help me in my project, thats not projects and recuitments?!?!?!??! Will you mods GIVE IT A REST???

  4. #4
    Registered User
    Join Date
    Nov 2004
    Posts
    20

    IM gonna laugh

    Im gonna laugh when they move it back to projects. Fight it out.

  5. #5
    Mayor of Awesometown Govtcheez's Avatar
    Join Date
    Aug 2001
    Location
    MI
    Posts
    8,823
    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.

  6. #6
    Registered User
    Join Date
    Nov 2004
    Posts
    20

    Its a project, do with it what you will

    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.

  7. #7
    Registered User
    Join Date
    Nov 2004
    Posts
    20

    Oh btw

    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.

  8. #8
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,659
    > 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.

  9. #9
    Registered User axon's Avatar
    Join Date
    Feb 2003
    Posts
    2,572
    coconutkid, show us what you have so far....I doubt you will "recruit" andyone to "help" you without showing any code.

    some entropy with that sink? entropysink.com

    there are two cardinal sins from which all others spring: Impatience and Laziness. - franz kafka

  10. #10
    Mayor of Awesometown Govtcheez's Avatar
    Join Date
    Aug 2001
    Location
    MI
    Posts
    8,823
    Especially considering two days ago you had no idea how to make and engine.

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

  11. #11
    Registered User axon's Avatar
    Join Date
    Feb 2003
    Posts
    2,572
    Quote Originally Posted by Govtcheez
    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?

    some entropy with that sink? entropysink.com

    there are two cardinal sins from which all others spring: Impatience and Laziness. - franz kafka

  12. #12
    Mayor of Awesometown Govtcheez's Avatar
    Join Date
    Aug 2001
    Location
    MI
    Posts
    8,823
    >Hey coconut kid, what is the time complexity of your algorithm to decide the move?

    20 moves ahead in a minute, duh.

  13. #13
    & the hat of GPL slaying Thantos's Avatar
    Join Date
    Sep 2001
    Posts
    5,681
    Pfffft too easy.

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

  14. #14
    S Sang-drax's Avatar
    Join Date
    May 2002
    Location
    Göteborg, Sweden
    Posts
    2,072
    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.
    Last edited by Sang-drax : Tomorrow at 02:21 AM. Reason: Time travelling

  15. #15
    Registered User
    Join Date
    Nov 2004
    Posts
    20

    Answer

    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
    email: [email protected]

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Chess engine
    By beene in forum General AI Programming
    Replies: 4
    Last Post: 08-21-2007, 11:21 PM
  2. In a game Engine...
    By Shamino in forum Game Programming
    Replies: 28
    Last Post: 02-19-2006, 11:30 AM
  3. Game Engine Link Prob
    By swgh in forum Game Programming
    Replies: 2
    Last Post: 01-26-2006, 12:14 AM
  4. Ultra chess engine contest
    By yodacpp in forum Projects and Job Recruitment
    Replies: 8
    Last Post: 11-21-2004, 07:58 AM
  5. Ultra chess engine
    By yodacpp in forum Game Programming
    Replies: 2
    Last Post: 11-19-2004, 12:33 PM