summaryrefslogtreecommitdiff
path: root/Entelect.BattleCity.Challenge/Program.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Entelect.BattleCity.Challenge/Program.cs')
-rw-r--r--Entelect.BattleCity.Challenge/Program.cs27
1 files changed, 0 insertions, 27 deletions
diff --git a/Entelect.BattleCity.Challenge/Program.cs b/Entelect.BattleCity.Challenge/Program.cs
deleted file mode 100644
index 376807a..0000000
--- a/Entelect.BattleCity.Challenge/Program.cs
+++ /dev/null
@@ -1,27 +0,0 @@
-using System;
-using System.ServiceModel;
-
-namespace Entelect.BattleCity.Challenge
-{
- class Program
- {
- static void Main(string[] args)
- {
- try
- {
- var endpointConfigurationName = "ChallengePort";
- var address = new EndpointAddress(args[0]);
- var service = new ChallengeService.ChallengeClient(endpointConfigurationName, address);
- var board = service.login();
-
- var game = new GameInProgress(service, board);
- game.run();
- }
- catch (Exception ex)
- {
- Console.Error.WriteLine("Uncaught exception thrown. Exiting.");
- Console.Error.WriteLine(ex.StackTrace.ToString());
- }
- }
- }
-}