Combinatorial Game Theory/Game of NIM/gameNIM.c
// A C function to declare the winner of the game 
A C function to declare the winner of the game
A C function to declare the winner of the game
void declareWinner(int whoseTurn) 
{ 
    if (whoseTurn == COMPUTER) 
        printf ("\nHUMAN won\n\n"); 
    else
        printf("\nCOMPUTER won\n\n"); 
    return; 
}
void declareWinner ( int whoseTurn ) { if ( whoseTurn == COMPUTER ) printf ( " \n \n \n " ) ; else printf ( " \n \n \n " ) ; return ; }
A C function to declare the winner of the game
A C function to declare the winner of the game