A C function to output the current game state .
void showPiles ( int piles [ ] , int n ) { int i ; cout << " Current ▁ Game ▁ Status ▁ - > ▁ " ; for ( i = 0 ; i < n ; i ++ ) cout << " ▁ " << piles [ i ] ; cout << " STRNEWLINE " ; return ; }