Exemple #1
0
 public void back()
 {
     Scrabble.Lexicon.Move tmp = historyM.Pop();
     futureM.Push(tmp);
     foreach (Scrabble.Lexicon.MovedStone m in tmp.PutedStones)
     {
         desk.Desk[m.i, m.j] = '_';
     }
 }
Exemple #2
0
        public void newGame()
        {
            this.window.Hide();
            this.round = 1;
            this.desk  = new Scrabble.Lexicon.PlayDesk(this);
            foreach (Scrabble.Player.Player p in this.players)
            {
                p.Restart();
                Scrabble.Game.StonesBag.CompleteRack(p.Rack);
            }
            OnTurn = 0;

            this.bestMove = new Scrabble.Lexicon.Move("");

            this.window.Update();
            this.window.ShowAll();
        }
Exemple #3
0
        public void newGame()
        {
            this.window.Hide();
            this.round = 1;
            this.desk = new Scrabble.Lexicon.PlayDesk(this);
            foreach( Scrabble.Player.Player p in this.players ) {
                p.Restart();
                Scrabble.Game.StonesBag.CompleteRack( p.Rack );
            }
            OnTurn = 0;

            this.bestMove = new Scrabble.Lexicon.Move("");

            this.window.Update();
            this.window.ShowAll();
        }