initial commit.

Plan is dumb-down War-O for this implementation as it is surprisingly
difficult and not worth the effort for the full game.