|
|
DataMuseum.dkPresents historical artifacts from the history of: DKUUG/EUUG Conference tapes |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about DKUUG/EUUG Conference tapes Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - download
Length: 441 (0x1b9)
Types: TextFile
Names: »tellall.c«
└─⟦b20c6495f⟧ Bits:30007238 EUUGD18: Wien-båndet, efterår 1987
└─⟦this⟧ »EUUGD18/General/Poker/tellall.c«
/*
** Send everyone a message.
*/
# include "tellall.h"
# include "util.h"
# include "players.h"
void tellall( player, n_players, msg )
PLAYER player[]; /* all player info */
int n_players; /* # of players */
char *msg; /* message to send */
{
int i;
for( i=1; i<n_players; i++ ) /* don't send any messages to the computer */
if ( player[i].bet != -1 ) /* no messages to anyone sitting out */
writeln( player[i].socket, msg );
}