games
char line[256], games[256];
(void)strlcpy(games, _PATH_GAMES, 256);
(void)strlcat(games, GAMES, 256);
if ((fp = fopen(games, "r")) == NULL) {
warn("fopen %s", games);
(void)fprintf(stderr, "%s: no default game available\n", games);
char line[256], games[256];
(void)strlcpy(games, _PATH_GAMES, 256);
(void)strlcat(games, GAMES, 256);
if ((fp = fopen(games, "r")) == NULL) {
warn("fopen %s", games);
(void)fprintf(stderr, "%s: %s: game not found\n", games, s);
char line[256], games[256];
(void)strlcpy(games, _PATH_GAMES, 256);
(void)strlcat(games, GAMES, 256);
if ((fp = fopen(games, "r")) == NULL) {
warn("fopen %s", games);
(void)fprintf(stderr, "%s: no games available\n", games);
_scrn->games(i, p);
void games(size_t i, const PLAYER& p); // Post games
virtual void games(size_t l, const PLAYER& p) = 0; // Post games won
b.games(0, *p[0]);
b.games(1, *p[1]);
void games(size_t s, const PLAYER& p);
Player[PLAYER].games++;
Player[COMP].games++;
int games;
Player[PLAYER].games++;
Player[COMP].games++;
show_score(14, x, pp->games, &pp->sh_games);
show_score(9, x, pp->games, &pp->sh_games);
Further examples can be found in the games section