It depends on the country and its gambling policies. If a game is not for money, most likely, no legal problems will arise.