- static char prompt[BUFSIZ];
-
- prhand(hand, CINHAND, Playwin, FALSE);
- sprintf(prompt, "Your %s scores ", s);
- i = scorehand(hand, turnover, CINHAND, FALSE, explain); /* count */
- if ((j = number(0, 29, prompt)) == 19)
- j = 0;
- if (i != j) {
- if (i < j) {
- win = chkscr(&pscore, i);
- msg("It's really only %d points, I get %d.", i, 2);
- if (!win)
- win = chkscr(&cscore, 2);
+
+ printf( "Your %s is: ", s );
+ prhand( hand, CINHAND, TRUE );
+ printf( " [" );
+ printcard( turnover, TRUE );
+ printf( "]. How many points? " );
+ i = scorehand( hand, turnover, CINHAND, FALSE ); /* count */
+ if( ( j = number(0, 29) ) == 19 ) j = 0;
+ if( i != j ) {
+ if( i < j ) {
+ win = chkscr( &pscore, i );
+ printf( "It's really only %d points, I get %d.\n", i, 2 );
+ if( !win ) win = chkscr( &cscore, 2 );