Thread: YACC (yet another chess contest)

  1. #1
    Registered User
    Join Date
    Aug 2002
    Location
    Hermosa Beach, CA
    Posts
    446

    YACC (yet another chess contest)

    Okay it isn't really a contest. But I know that we have tried to get a chess game contest going for a while, and everyone thinks it is too hard, or we don't get enough entries, or whatever. And then the thread dies a slow death.

    Here is my proposal. A group "contest". The goal is to get a functioning c++ chess game written right here on the forum, as a group. Sort of crazy, but consider:

    1) People can volunteer to write certain portions, and then post what they come up with. Many people may have little portions written already, for instance I know that I have a minimax + alpha beta pruning routine written that could be tossed in. Once the code is posted, people can feel free to comment, improve, etc.

    2) Some people may not have the time or inclination to actually write the code, but they may have enough time to research some particular sub-topic, and report back to the group. Which in turn could be the starting point for someone to write some code for that particular section.

    3) Some people only like writing the GUI, while others like anything but writing a GUI. In this project, you're free to write the part that you like best. Or we could skip a GUI, and simply have someone research how to interface with winboard (a free interface I think).

    If you like the idea, say so, and let us know which part you want to research. Some research topics include: Zobrist Keys, Bitboards, negamax, minimax, alpha beta pruning, iterative deepening, null move heuristic, winboard interfacing, transposition tables/hash tables, chess computer heuristics, opening books, and endgame tablebases.

    Well...what do you think?
    The crows maintain that a single crow could destroy the heavens. Doubtless this is so. But it proves nothing against the heavens, for the heavens signify simply: the impossibility of crows.

  2. #2
    Pokemon Master digdug4life's Avatar
    Join Date
    Jan 2005
    Location
    Mystic Island, NJ
    Posts
    91
    good idea, but i suck at programming so far
    Verbal Irony >>

    "I love english homework!" When really nobody like english homework.
    -Mrs. Jennifer Lenz (English Teacher)

  3. #3
    the Great ElastoManiac's Avatar
    Join Date
    Nov 2005
    Location
    Republika Srpska - Balkan
    Posts
    377
    I could program the gui if you want to,
    create a structure that contains all the info on the table, and pass it to my class,
    it will be rendered.
    lu lu lu I've got some apples lu lu lu You've got some too lu lu lu Let's make some applesauce Take off our clothes and lu lu lu

  4. #4
    Registered User
    Join Date
    Aug 2001
    Posts
    244
    how about these structures for passing things around?

    Code:
    enum EChessman {
      CM_PAWN,
      CM_BISHOP,
      CM_KNIGHT,
      CM_ROOK,
      CM_QUEEN,
      CM_KING
    };
    
    class IChessField {
    public:
      virtual unsigned get_size_x() const = 0;
      virtual unsigned get_size_y() const = 0;
      virtual EChessman get_chessman(unsigned x, unsigned y) const = 0;
    };
    signature under construction

  5. #5
    the Great ElastoManiac's Avatar
    Join Date
    Nov 2005
    Location
    Republika Srpska - Balkan
    Posts
    377
    Quote Originally Posted by Raven Arkadon
    how about these structures for passing things around?

    Code:
    enum EChessman {
      CM_PAWN,
      CM_BISHOP,
      CM_KNIGHT,
      CM_ROOK,
      CM_QUEEN,
      CM_KING
    };
    
    class IChessField {
    public:
      virtual unsigned get_size_x() const = 0;
      virtual unsigned get_size_y() const = 0;
      virtual EChessman get_chessman(unsigned x, unsigned y) const = 0;
    };
    good structure indeed.
    So i shall begin with my GUI.

    First i wanna ask you some things :
    1. Should i create a menu ?
    2. Should the window be resizeable ?
    3. Should i use bmp for table background ?
    4. Should i create drag & drop system, or with clicking on two fields ?
    5. Should i create a highlighting of fields a player can move to( i'm gonna need structure for this too )
    lu lu lu I've got some apples lu lu lu You've got some too lu lu lu Let's make some applesauce Take off our clothes and lu lu lu

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. chess ai contest
    By Raven Arkadon in forum Contests Board
    Replies: 7
    Last Post: 07-09-2005, 06:38 AM
  2. Expression Evaluator Contest
    By Stack Overflow in forum Contests Board
    Replies: 20
    Last Post: 03-29-2005, 10:34 AM
  3. Ultra chess engine contest
    By yodacpp in forum Projects and Job Recruitment
    Replies: 8
    Last Post: 11-21-2004, 07:58 AM
  4. WANTED: Contest Master
    By kermi3 in forum A Brief History of Cprogramming.com
    Replies: 15
    Last Post: 01-23-2003, 10:15 PM