Sign in to follow this  
finanshow

What the industrial standard to design a client system?

Recommended Posts

finanshow    157

Hi guys,

 

I'm confused about this process before detail coding, what kind method be used to design a game client framework? Refer to my experience on website development, we will design the system via UML. 

 

Regards,

 

Share this post


Link to post
Share on other sites
alvaro    21246
A game client is just like a single-player game, except it needs to keep its state synchronized externally through the network. So there are as many ways to design a game client as there are ways to design single-player games, and then there are multiple ways of going about the synchronization. This means it's not very likely that there is an industry standard. Many designs are centered around a "game loop", but that's about it.

Share this post


Link to post
Share on other sites
frob    44908

Every game is different, but when it comes to the communication patterns there will always be similarities.

 

 

Networked tic-tac-toe is probably going to be similar to networked chess.  Both are slow, turn based, with static screens.  A move can be transmitted with a byte or two.

 

But both are going to be different from networked pong.  Networked pong is potentially sending frequent player state change updates.  (It is not necessarily sending ball updates since those can be calculated.  Also it is sufficient to send up/down events rather than a continuous stream of positions.)

 

A networked First Person Shooter is likely to be somewhat similar to pong, except with more than two players and more game events.

Share this post


Link to post
Share on other sites
alvaro    21246
I think what frob is describing are protocols for communicating between server and client, which wasn't exactly the original question. but it's probably a better question to ask.

As far as I can tell, UML is a distraction. I mean, if you have experience with it and find it useful, that's great. But I have never found it useful myself.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this