Click here to Skip to main content
16,006,013 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Anyone get this to work ?? Pin
Bob Beaubien18-Sep-09 16:52
Bob Beaubien18-Sep-09 16:52 
QuestionURGENT HELP Pin
McsmartCJ18-Sep-09 14:25
McsmartCJ18-Sep-09 14:25 
AnswerRe: URGENT HELP Pin
Dave Kreskowiak18-Sep-09 15:05
mveDave Kreskowiak18-Sep-09 15:05 
GeneralRe: URGENT HELP Pin
Christian Graus18-Sep-09 15:22
protectorChristian Graus18-Sep-09 15:22 
GeneralRe: URGENT HELP Pin
Dave Kreskowiak18-Sep-09 18:27
mveDave Kreskowiak18-Sep-09 18:27 
GeneralRe: URGENT HELP Pin
Christian Graus18-Sep-09 19:19
protectorChristian Graus18-Sep-09 19:19 
AnswerRe: URGENT HELP Pin
Christian Graus18-Sep-09 15:21
protectorChristian Graus18-Sep-09 15:21 
AnswerRe: URGENT HELP Pin
Luc Pattyn18-Sep-09 15:43
sitebuilderLuc Pattyn18-Sep-09 15:43 
Hi,

IMO a chess game consists of four parts:
- a GUI
- a move generator
- a move selector
- a chess knowledge database

Of these the GUI is the easiest part; mind you, a lot of chess games include a 3D GUI, but I always turn it off, as it hinders my view on the board, it doesn't help me a bit.

The move generator also is a simple part, except the quality of the game will depend on how FAST you generate the moves; bitarrays are a popular approach here (google for "bitarray", and I do not mean the BitArray class!)

The move selector is the hard part; that is where years of research is being spent by several companies selling chess games. Basically a lot of possible moves are considered one by one, all possible replies are considered, etc etc up to a certain depth, and then a min-max optimisation is performed; to shave of some processing time, this huge tree gets "alpha-beta" pruned. You will need detailed knowledge in all of these
in order to come up with anything half decent.

Once you got these three, you may have a program that plays a kind of chess; it may or may not be fast enough not to work on your nerves; and it will for sure play a lot of ridiculous moves...

Since finally you need a database; both the opening and the ending of the game cannot be handled well by brute force approaches; so you need a database that knows the "normal openings", as well as the typical dealing with all kinds of endgames.

Most hobbyists in this field don't spend any time in the GUI part, they tend to come up with "chess engines" (i.e. move generator + move selector) that plugs into an existing chess GUI, of which there are many available, as freeware. And almost all the value of the game in the end resides in the database.

BTW: I hope you have been playing chess for many years. What is your current ELO rating?

PS: you said it was urgent. Why is that? Did you plan something special in the next ten years?

PS2: I would never, never, consider developing a chess game in VB.NET; I definitely need all the performance I can get, so I'd go with either C, C++ or C# (with a couple of unsafe blocks for sure).


Smile | :)

Luc Pattyn

Have a look at my entry for the lean-and-mean competition; please provide comments, feedback, discussion, and don’t forget to vote for it! Thank you.

Local announcement (Antwerp region): Lange Wapper? Neen!


QuestionForm that is showing dialog box is disabled - looses behavior of when showing dialogbox Pin
nlarson1118-Sep-09 10:02
nlarson1118-Sep-09 10:02 
AnswerRe: Form that is showing dialog box is disabled - looses behavior of when showing dialogbox Pin
Eddy Vluggen18-Sep-09 10:29
professionalEddy Vluggen18-Sep-09 10:29 
GeneralRe: Form that is showing dialog box is disabled - looses behavior of when showing dialogbox Pin
nlarson1118-Sep-09 10:37
nlarson1118-Sep-09 10:37 
AnswerRe: Form that is showing dialog box is disabled - looses behavior of when showing dialogbox Pin
nlarson1118-Sep-09 11:13
nlarson1118-Sep-09 11:13 
Questionproblem with System.InvalidOperationException - enabling buttons from within event sub Pin
abiemann18-Sep-09 9:03
abiemann18-Sep-09 9:03 
AnswerRe: problem with System.InvalidOperationException - enabling buttons from within event sub Pin
abiemann18-Sep-09 9:35
abiemann18-Sep-09 9:35 
AnswerRe: problem with System.InvalidOperationException - enabling buttons from within event sub Pin
abiemann18-Sep-09 9:58
abiemann18-Sep-09 9:58 
AnswerRe: problem with System.InvalidOperationException - enabling buttons from within event sub Pin
Luc Pattyn18-Sep-09 10:22
sitebuilderLuc Pattyn18-Sep-09 10:22 
GeneralRe: problem with System.InvalidOperationException - enabling buttons from within event sub Pin
abiemann21-Sep-09 8:32
abiemann21-Sep-09 8:32 
GeneralRe: problem with System.InvalidOperationException - enabling buttons from within event sub Pin
Luc Pattyn21-Sep-09 8:36
sitebuilderLuc Pattyn21-Sep-09 8:36 
QuestionHelp with RDL report! Pin
bugor7718-Sep-09 5:25
bugor7718-Sep-09 5:25 
QuestionWebBrowser Control Pin
SoftDev4U18-Sep-09 5:01
SoftDev4U18-Sep-09 5:01 
AnswerRe: WebBrowser Control Pin
Dave Kreskowiak18-Sep-09 5:15
mveDave Kreskowiak18-Sep-09 5:15 
GeneralRe: WebBrowser Control Pin
SoftDev4U18-Sep-09 5:22
SoftDev4U18-Sep-09 5:22 
QuestionRE:Missing Oracle InProc server 5.0 type library Pin
Lee Mwangi18-Sep-09 4:32
Lee Mwangi18-Sep-09 4:32 
AnswerRe: RE:Missing Oracle InProc server 5.0 type library Pin
Lee Mwangi18-Sep-09 4:33
Lee Mwangi18-Sep-09 4:33 
QuestionMessage Box Pin
RyJaBy18-Sep-09 2:48
RyJaBy18-Sep-09 2:48 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.