This is a discussion on Ideas Needed for the Project within the C and C++ forums, part of the Programming Talk category; I am trying to implement a chess program using C programming languages and graphics in C language. I am planning ...
|
|||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Ideas Needed for the Project
I am trying to implement a chess program using C programming languages and graphics in C language. I am planning to write separate function f handling movements of king, queen, pawn and each of every coin. Is there any other performance improvement way for handling movement of coins in chess? Kindly suggest your opinion on this project.
|
|
|||
|
Some inputs and tips for your chess program are:
* You must first decide on the depth of moves for your chess program. Say if you plan to build your program to handle efficiently 8 depth moves make it handle as 4 half-moves for the white and 4 half-moves for the black pieces. * If you know C++ or VC++ you can try building in this as it would ease your process and reduce your code writing. |
|
|||
|
The main logic for your chess program is you must make the system scans the chessboard displayed on screen and locate all current position of coins before making the movement. It must try making internally all possible moves it can make and come if the optimized result for final movement.
|
|
|||
|
Some thoughts as inputs for your chess program from me are you can have separate function for handling each of the functionality. That is you can have a separate function for each of these
* scanning chess board * Deciding all possible moves from current coin positions and come to a optimized move * Check the validity of computer move |
![]() |
| Thread Tools | |
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Final year project in bangalore | Vasundhra T | Freshers Jobs | 0 | 07-27-2006 07:57 AM |
| MSc level Project Ideas | archana.maurya | Project Requests | 1 | 06-22-2006 04:38 AM |
| Software Project Planning | rjames | Software Testing | 1 | 06-01-2006 05:32 AM |
| Please help needed | ssofttech | Immigration Help | 4 | 05-09-2005 02:30 AM |
| Microsoft provides Project work for Students | sanereddy | Project Requests | 0 | 09-20-2004 10:12 PM |