Click here to Skip to main content
15,915,828 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Internet blocking in Windows 98 Pin
ThatsAlok10-Apr-06 7:36
ThatsAlok10-Apr-06 7:36 
QuestionCPP,MFC,.DEF Files Pin
Bram van Kampen9-Apr-06 13:24
Bram van Kampen9-Apr-06 13:24 
AnswerRe: CPP,MFC,.DEF Files Pin
David Crow10-Apr-06 3:27
David Crow10-Apr-06 3:27 
GeneralRe: CPP,MFC,.DEF Files Pin
Bram van Kampen11-Apr-06 15:02
Bram van Kampen11-Apr-06 15:02 
QuestionHow to draw a bit map when mouse is pressed ? Pin
Surivevoli9-Apr-06 12:51
Surivevoli9-Apr-06 12:51 
AnswerRe: How to draw a bit map when mouse is pressed ? Pin
Bram van Kampen9-Apr-06 13:55
Bram van Kampen9-Apr-06 13:55 
GeneralRe: How to draw a bit map when mouse is pressed ? Pin
Surivevoli9-Apr-06 14:15
Surivevoli9-Apr-06 14:15 
GeneralRe: How to draw a bit map when mouse is pressed ? Pin
Bram van Kampen9-Apr-06 14:47
Bram van Kampen9-Apr-06 14:47 
No, I have never build a program that play chess(or gomoku) over LAN !.

However, I see that you are taking on a very complex task. If I where you, I would break the task up into a number of DLL's
Seeing that you want to play some sort of game over a network, you will need somewhere where the score is kept, i.e. a server for the purpose of the game.(This need not be the Network Server). The way I would write this would be, Game server Software, which keps track of the various games being played, and which would need no other interface than something to keep track of players and scores, and Client software, which monitors the Game moves, and communicates same with the Game server. The game Server in this case would be the final arbitor on the legality, or otherwise, of any moves.In this scheme of things, you need to think first of exchange protocols for this type of information, implementation of game rules, etc, etc.
I would be inclined at the development stage at least, to implement the clients as a console program, i.e. a Chess Move is implemented by a client by typing something like "E2->E4!, and getting back an error message like: "Err 4087: Sorry, The Piece on Field E2 is a Knight, For a Knight the move E2->E4 is Illegal". After you have this Up,Going and Debugged, you can write some beautiful graphics to simulate the game, using essentially the same messaging service to the server.

Hope this is Usefull,



LateNightsInNewry
GeneralRe: How to draw a bit map when mouse is pressed ? Pin
Surivevoli9-Apr-06 15:52
Surivevoli9-Apr-06 15:52 
GeneralRe: How to draw a bit map when mouse is pressed ? Pin
Waldermort9-Apr-06 15:54
Waldermort9-Apr-06 15:54 
GeneralRe: How to draw a bit map when mouse is pressed ? Pin
Surivevoli9-Apr-06 16:14
Surivevoli9-Apr-06 16:14 
AnswerRe: How to draw a bit map when mouse is pressed ? Pin
Laxman Auti10-Apr-06 0:51
Laxman Auti10-Apr-06 0:51 
QuestionOpenFileDialog Pin
EhsB9-Apr-06 10:52
EhsB9-Apr-06 10:52 
QuestionKeyboard hook code explanation Pin
EvScott9-Apr-06 8:38
EvScott9-Apr-06 8:38 
AnswerRe: Keyboard hook code explanation Pin
PJ Arends9-Apr-06 10:04
professionalPJ Arends9-Apr-06 10:04 
AnswerRe: Keyboard hook code explanation Pin
Bram van Kampen9-Apr-06 15:01
Bram van Kampen9-Apr-06 15:01 
QuestionHOW TO DETECT MEMORY LEAKS Pin
Rafael Fernández López9-Apr-06 7:32
Rafael Fernández López9-Apr-06 7:32 
AnswerRe: HOW TO DETECT MEMORY LEAKS Pin
sunit59-Apr-06 19:12
sunit59-Apr-06 19:12 
QuestionSTL Qs Pin
RalfPeter9-Apr-06 6:10
RalfPeter9-Apr-06 6:10 
AnswerRe: STL Qs Pin
Chris Losinger9-Apr-06 7:07
professionalChris Losinger9-Apr-06 7:07 
AnswerRe: STL Qs Pin
Jörgen Sigvardsson9-Apr-06 10:40
Jörgen Sigvardsson9-Apr-06 10:40 
QuestionCArray of CBrush and CRgn Pin
stifmeister_ro9-Apr-06 6:10
stifmeister_ro9-Apr-06 6:10 
AnswerRe: CArray of CBrush and CRgn Pin
Michael Dunn9-Apr-06 7:15
sitebuilderMichael Dunn9-Apr-06 7:15 
QuestionKeyboard hook code explanation Pin
EvScott9-Apr-06 5:42
EvScott9-Apr-06 5:42 
AnswerRe: Keyboard hook code explanation Pin
David Crow10-Apr-06 3:32
David Crow10-Apr-06 3:32 

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.