This is rock, paper, scissor style server client game where each player logs into the server. Once logged in you can check to see who is in the lobby of the game. Challenge other players who are in the lobby. Also, you can get info on the player’s accounts for there records on games won and whom they have played. In the game players choose their armies, players choose 100 units of a mix of archers, infantry, and cavalry. Then players choose which units are to fight until one player has no more units or surrenders.
check out the code
C++ using Protobuf