示例#1
0
        static void Main(string[] args)
        {
            /*
            System.Console.WriteLine("hej marcus, välkommen till chess!");
            System.Console.WriteLine("tack nils, kul att vara här!");
            System.Console.WriteLine("Allid kul att ha dig här Marcus!");
            System.Console.WriteLine("Testar igen!");
            */
            GameView gw = new GameView();
            //gw.run();

            gw.makeMove(1, 1, 1, 3);
            gw.makeMove(2, 1, 1, 2);

            /*gw.makeMove(1, 1, 1, 3); //får hända
            gw.makeMove(1, 3, 1, 5); //får inte hända
            gw.makeMove(1, 3, 1, 4); //får hän
            gw.makeMove(0, 0, 3, 1); //får inte hända
            gw.makeMove(3, 0, 5, 0);//kungen får hända
            //gw.makeMove(1, 0, 0, 2);//häst får inte hända
            //gw.makeMove(0, 2, 1, 0);
            */
            Console.ReadKey();
        }
 /// <summary>
 /// LoadContent will be called once per game and is the place to load
 /// all of your content.
 /// </summary>
 protected override void LoadContent()
 {
     // Creates a view
     view = new GameView(model, Content, GraphicsDevice);
 }