473,508 Members | 2,236 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Making a chess board

18 New Member
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
Jun 18 '07 #1
3 4645
sicarie
4,677 Recognized Expert Moderator Specialist
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)
Jun 18 '07 #2
r035198x
13,262 MVP
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.
Jun 18 '07 #3
JosAH
11,448 Recognized Expert MVP
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
Jun 18 '07 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

9
2914
by: Michel | last post by:
I am trying to display a position, on a chessboard, corresponding to a sequence of moves recorded in a MySql database. Any clue? Michel
1
2553
by: Paul Franklin | last post by:
Hi, I am writing some C++ code, and the problem is analogous to the following situation: Take a Chess Board of 8x8 (nxn) blocks and I have 8 (n) horses. Like in chess, the horses are placed at...
1
2466
by: Varun Hiremath | last post by:
Hello, I have written a chess client using python which is a graphic interface to play chess. It is at present a two player version, players move their peices by clicking two squares on the board...
13
2674
by: asif929 | last post by:
I have been trying to create this chess program from many hours and still couldn't figure out how to complete it. After consume all these efforts i come to this google groups for the first time for...
63
15167
by: biyubi | last post by:
Hi, a year ago I won the 2005 Best Game categoryof the International Obfuscated C Code Contestwith a chess program. http://www.ioccc.org/whowon2005.html...
2
3106
by: CoreyWhite | last post by:
When playing games, perhaps the most simple is tic-tac-toe. The game has two simple strategies, one is defensive and the other offensive. It is not hard at first to learn how to tie games when...
2
2019
by: shatranjchess | last post by:
I'm releasing a new python chess module called shatranj. You can get it from www.employees.org/~stannous/shatranj until I move the project to sourceforge or some other place. It's a text based...
10
12535
by: sam_cit | last post by:
Hi Everyone, I'm working on developing a chess game and i decided to use c++ for its object oriented approach. I have a bass class unit and is inherited to distinct number of units (like king,...
3
9973
by: Untitled123 | last post by:
Hey guys!! I am Planning on Creating a Computer vs. User Chess game involving Artificial Intelligence... by just using TURBO C++ This is NOT impossible!! Please understand that my seniors...
0
7331
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7391
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
7501
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5633
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5056
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4713
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
1564
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
768
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
424
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.