M
M
Mozzarella2018-04-23 19:23:19
C++ / C#
Mozzarella, 2018-04-23 19:23:19

How to design a game session?

I am developing a game like HearthStone in c# as part of a training project on TcpClient - TcpListener.
Now we need to design the game session. Are there any patterns for connecting players to the session object?
You also need to work out the communication between the client and the server: clients send their actions, and receive model changes from the server.
Regarding networking.
There are two ideas:
1) Send a list of actions that happened on the server and process it on the client
2) Send model changes

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
MrDywar Pichugin, 2018-04-23
@Dywar

Not pure TCP, but also normal, even better:
Writing a game server and creating a client on U...
Philosophy of network games. Creating a multiuser...
The general approach will be clear.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question