private static void Main()
        {
            var game = new GameClientBattlecity("127.0.0.1:8080", "*****@*****.**", "16063299111614783155");

            game.Run(() =>
            {
                game.SendActions(Direction.RIGHT + "," + Direction.ACT);
            });
            Console.Read();
        }
示例#2
0
 private static void Main()
 {
     G = new GameClientBattlecity("http://dojorena.io/codenjoy-contest/board/player/int06uj890zd3heph6z8?code=2017086748052372503&gameName=battlecity");
     Log("GAME STARTED. MAP: " + G.MapSize);
     G.Run(() =>
     {
         Move();
     });
     Console.Read();
 }
示例#3
0
        private static void Main()
        {
            var gcb = new GameClientBattlecity("127.0.0.1:8080", "*****@*****.**", "16063299111614783155");

            gcb.Run(() =>
            {
                Move(gcb);
            });
            Console.Read();
        }
示例#4
0
        private static void Main()
        {
            var gcb = new GameClientBattlecity("http://dojorena.io/codenjoy-contest/board/player/0?code=000000000000");

            gcb.Run(() =>
            {
                Move(gcb);
            });
            Console.Read();
        }