I need some help understanding how to utilise namespaces.
I'm doing a project to make a poker AI.
I have a solution called Poker.
I have a project called Engine. This is the game exe
I then have multiple projects for each type of AI I make which compile to assemblies.
Ideally I want them all to be under the same namespace "Poker" so they can all use the same types etc. E.G. Poker.Engine for all types and classes to do with the game engine and Poker.AI for all AI classes.
Can namespaces span multiple projects?
Is it possible to set it up how I want? I initially tried setting the namespace for each project to "Poker" which didn't work!
Any help appreciated
I'm doing a project to make a poker AI.
I have a solution called Poker.
I have a project called Engine. This is the game exe
I then have multiple projects for each type of AI I make which compile to assemblies.
Ideally I want them all to be under the same namespace "Poker" so they can all use the same types etc. E.G. Poker.Engine for all types and classes to do with the game engine and Poker.AI for all AI classes.
Can namespaces span multiple projects?
Is it possible to set it up how I want? I initially tried setting the namespace for each project to "Poker" which didn't work!
Any help appreciated
Last edited: