Hi I'm making a simple poker texas holdem with client-server functionality. My problem is that I'm sending whole list of players to client (with info like bet amount, who has dealer button, what cards they have etc.).
In game I print only cards that belong to specific player. Should I even send cards of other players?
I don't print them but client still has info about them, so it may be some security issue. I'm new to implementing client-server and I'm not sure if sending info someone shouldn't have is acceptable. If I can't send those card then I would have to send response to each player individually, right now I'm sending it to all of them at once, it's gonna completely change my implementation so I don't want to rush into this. Thanks in advance.