persian_83
Apr 29th, 2003, 09:36 AM
ChessGame.Questions.Part1.ShowDialog
hello,
I'm writing a client/server chess game application ( of course 2clients play against eachother), i'm finished with the parts that have to do with chess, its working fine , but i had some big architectural questions, i'm new to programming so i have no idea what to do.
The clients connect to the server using TCPCLIENT, so here are my first set of questions
Proccessing:
Should i put the main proccessing on the
client side app, and just use the server to transform
data and keep state? how do they usualy do it? like
for example in yahoo!games
DataTransoformation:
1)If the proccesing is done on the client, the data
transformed each time is just going to be 2numbers
(initial and final position of the move )
2) if the proccessing is done on the server(as it is
now) :
the server before each move, gets all the boxes
that can be moved in the next turn , and where they
can be moved, how do you guys suggest for
transfering the data to the client? ( this info is
stored in a dataset on the server, for each game)
*** I'm trying to make the game work like Yahoo!Chess Game, its a multitable game, and clients can play or watch others playing, know i'm still working on vb applications, and dont know anything about web development, but later i want to put the game up on the internet, so while answering my questions, please have that in mind, thanks allot
ChessGame.Questions.Part1.Close
hello,
I'm writing a client/server chess game application ( of course 2clients play against eachother), i'm finished with the parts that have to do with chess, its working fine , but i had some big architectural questions, i'm new to programming so i have no idea what to do.
The clients connect to the server using TCPCLIENT, so here are my first set of questions
Proccessing:
Should i put the main proccessing on the
client side app, and just use the server to transform
data and keep state? how do they usualy do it? like
for example in yahoo!games
DataTransoformation:
1)If the proccesing is done on the client, the data
transformed each time is just going to be 2numbers
(initial and final position of the move )
2) if the proccessing is done on the server(as it is
now) :
the server before each move, gets all the boxes
that can be moved in the next turn , and where they
can be moved, how do you guys suggest for
transfering the data to the client? ( this info is
stored in a dataset on the server, for each game)
*** I'm trying to make the game work like Yahoo!Chess Game, its a multitable game, and clients can play or watch others playing, know i'm still working on vb applications, and dont know anything about web development, but later i want to put the game up on the internet, so while answering my questions, please have that in mind, thanks allot
ChessGame.Questions.Part1.Close