I'm making a multilayer, text-based game in python sockets. The game is two player with a server which the clients connect to. I'm not sure whether to store player information (name, health, etc) on the server or on the client? What are the advantages of both? I was thinking about storing the information on the client and sending the player object to the server when ever it changes, though this probably isn't very efficient. Any help would be appreciated!
I think you shouldn't even consider storing data like health client-side. Doing that will allow super-easy hacks to be made and the fact that the game is written in Python makes this a lot easier.
So I think you should keep these data in the server-side and use it from there.
Should I store player information on server or client?