private void DrawGrid()
        {
            int index = 0;

            SolidColorBrush blackBrush = new SolidColorBrush(Windows.UI.Colors.Black);
            SolidColorBrush lightBrush = new SolidColorBrush(gridColor);

            // Set colors of each rectangle based on grid values
            for (int r = 0; r < game.GridSize; r++)
            {
                for (int c = 0; c < game.GridSize; c++)
                {
                    Rectangle rect = paintCanvas.Children[index] as Rectangle;
                    index++;

                    if (game.GetGridValue(r, c))
                    {
                        // On
                        string letter = game.GetObjectGridValue(r, c);
                        rect.Fill = new ImageBrush
                        {
                            ImageSource = new BitmapImage(new Uri("ms-appx:///images/" + letter + ".jpg"))
                        };
                        rect.Stroke = blackBrush;
                    }
                    else
                    {
                        // Off
                        rect.Fill   = lightBrush;
                        rect.Stroke = blackBrush;
                    }
                }
            }
        }