Example #1
0
        public static void ImprimeJogo(Tabuleiro tab)
        {
            Console.Clear();

            for (int i = 0; i < Constantes.ALTURA_TABULEIRO; i++)
            {
                for (int j = 0; j < Constantes.LARGURA_TABULEIRO; j++)
                {
                    if (tab.Piece[i, j])
                        Console.Write(Constantes.PIECE);
                }

                Console.WriteLine();
            }
        }
Example #2
0
 public Game()
 {
     this.tab = new Tabuleiro();
     this.gamePieces = new List<Box>();
 }