diff options
author | Justin Worthe <justin.worthe@entelect.co.za> | 2013-10-14 19:33:05 +0200 |
---|---|---|
committer | Justin Worthe <justin.worthe@entelect.co.za> | 2013-10-14 19:33:05 +0200 |
commit | 26210d7b73f37e30d1b5ca88e2275fd01caf5d72 (patch) | |
tree | adb848e49b7d55456ae3a86957f4c9f09eb68913 /Entelect.BattleCity.Challenge/Program.cs |
Initial commit with the Mono Rot Bot
Diffstat (limited to 'Entelect.BattleCity.Challenge/Program.cs')
-rw-r--r-- | Entelect.BattleCity.Challenge/Program.cs | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/Entelect.BattleCity.Challenge/Program.cs b/Entelect.BattleCity.Challenge/Program.cs new file mode 100644 index 0000000..5764426 --- /dev/null +++ b/Entelect.BattleCity.Challenge/Program.cs @@ -0,0 +1,16 @@ +using System.ServiceModel; + +namespace Entelect.BattleCity.Challenge +{ + class Program + { + static void Main(string[] args) + { + var endpointConfigurationName = "ChallengePort"; + var address = new EndpointAddress(args[0]); + var service = new ChallengeService.ChallengeClient(endpointConfigurationName, address); + var state = service.login(); + GameInProgress.run(service, state); + } + } +} |