I think the only way to do this is to be running 2 instances of your game on the same machine and they talk to each other over the network. So its really a standard multiplayer setup.
this youtube video should give you an idea of the the things you can do