I'm programming a multiplayer game, and I'm now at the point where I want to store data about player characters. I'm thinking about creating a class for this. I think it would be a good idea to use the exact same class on both client and server. What's the best way to organize this?
Should I include the same source file in both projects?
Should I create a static library containing the class and link to it in both client and server?
Should I use one single library for all shared code?