Making a chess board

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • codexxx
    New Member
    • Jun 2007
    • 18

    Making a chess board

    Hi ,
    Every body. I am new to this forum.Any way I was trying to make a chess with Java/Swing. But facing various kind of problems. So plzz help me telling that,
    which field I need to work on first?? Do I need to know A.I. very well or should I go through Probability Statistics from Mathematics or should I go through Game Theory??? Or I need to know Java at top level???
    Do plz help me.Thanks to all of you.

    Kind regards

    codexxx
  • sicarie
    Recognized Expert Specialist
    • Nov 2006
    • 4677

    #2
    I would start by creating the UML diagram of your program. You know that you are going to have pieces and how they move, a board and how it is laid out, etc... so I would start there. As soon as you get down how they can move, then you can worry about how they should move. (And the diagram will be helpful to you modeling yoru system later, as well as giving you a good overview of what will be needed)
    Last edited by sicarie; Jun 18 '07, 01:33 PM. Reason: Still consuming coffee, not fully in system, can't spell yet...

    Comment

    • r035198x
      MVP
      • Sep 2006
      • 13225

      #3
      Originally posted by codexxx
      Hi ,
      Every body. I am new to this forum.Any way I was trying to make a chess with Java/Swing. But facing various kind of problems. So plzz help me telling that,
      which field I need to work on first?? Do I need to know A.I. very well or should I go through Probability Statistics from Mathematics or should I go through Game Theory??? Or I need to know Java at top level???
      Do plz help me.Thanks to all of you.

      Kind regards

      codexxx
      To make a very good one you'd need to know both at a very high level. However, you can make things easier for yourself if you get your design right. Hide the statistics parts in objects or methods so they can be developed independently of the rest of the system.

      Comment

      • JosAH
        Recognized Expert MVP
        • Mar 2007
        • 11453

        #4
        If you want your computer to play against an opponent all by itself I'd say go for
        game theory first. The language in which you implement your strategy is not that
        important but Java would do fine. Displaying the entire shebang is the least
        important part of it all (e.g. "e2 - e4" in european notation would be enough) but
        again, Java's Swing package would do fine. A.I. hasn' t much to do with chess
        unless you want to go the two dimensional pattern recognition route ...

        kind regards,

        Jos

        Comment

        Working...