I want to build a game support both multiplayer and single player. In multiplayer human vs. human, in single player, human vs. AI. If single player, of course, network is not needed. How would I design the project? can the netcode for multiplayer be re-used for single player AI, or do I have a write an almost complete independent set of code for AI?