7

I have never met a programmer during my short life, who would not love the games. Moreover, a programmer that has never written them.
Someone begins with “Tetris”, the other one with the “Snake”. Someone loses the interest, and the other one gets “sick” and turns that illness in a favorite work or entertaining hobby.

In the era of the Internet and social networks to play alone is boring, we want to communicate and play with friends.
We do not want just to communicate, but to go underground with the group or to show who is boss at the arena.
In this article I would like to tell about my approach to the server implementation of such interaction.

Task


Let us consider the example of a simple game application in which the player controls a character, which can buy \ sell items, fight at the arena, and go alone underground or with the friends.

Concept


For example, a player creates a group to go underground. The player sends a request to our server which adds a new group to the list of available groups to go underground, and then the other players are able to obtain this list and join it. When the group is formed by pressing a button, the creator sends it underground to meet the dangerous monsters.
Pirat 14 september 2011, 13:17
1 2