示例#1
0
        public static Echiquier Instance()
        {
            if (_me == null)
            {
                _me = new Echiquier();
            }

            return(_me);
        }
示例#2
0
文件: Jeu.cs 项目: kwidz/ChessGameAI
        private volatile bool stop, startThread, startGame; //Gère les boucles du thread

        public Jeu(Form1 form)
        {
            this.form   = form;
            ech         = Echiquier.Instance();
            msg         = "";
            jouer       = new String[3];
            fin         = rejouer = 0;
            stop        = startGame = false;
            startThread = true;
        }