js/tictactoe.js
/* FadeLose is a purely aesthetic function that fades all boxes that weren't a part of the winning player's plays */
FadeLose is a purely aesthetic function that fades all boxes that weren't a part of the winning player's plays
FadeLose is a purely aesthetic function that fades all boxes that weren ' t a part of the winning player ' s plays
function FadeLose(board, winner)
{
    for(var y = 0; y < 3; y++)
        {
            for(var x = 0; x < 3; x++)
                {
                    if (!board[x][y].classList.contains(winner))
                        {
                            board[x][y].style.opacity = 0.35;
                        }
                } 
        } 
} 
function FadeLose ( board , winner ) { for ( var y = 0 ; y < 3 ; y ++ ) { for ( var x = 0 ; x < 3 ; x ++ ) { if ( ! board [ x ] [ y ] . classList . contains ( winner ) ) { board [ x ] [ y ] . style . opacity = 0.35 ; } } } }
FadeLose is a purely aesthetic function that fades all boxes that weren't a part of the winning player's plays
FadeLose is a purely aesthetic function that fades all boxes that weren ' t a part of the winning player ' s plays
// End of double For loop 
 // End of function FadeLose
