Annotation of researchv10no/games/mille/table.c, revision 1.1.1.1

1.1       root        1: #ifndef lint
                      2: static char sccsid[] = "@(#)table.c    4.1 12/24/82";
                      3: #endif
                      4: 
                      5: # define       DEBUG
                      6: # include      "mille.h"
                      7: 
                      8: main() {
                      9: 
                     10:        reg int i, j, count;
                     11: 
                     12:        printf("   %16s -> %5s %5s %4s %s\n", "Card", "cards", "count", "need", "opposite");
                     13:        for (i = 0; i < NUM_CARDS - 1; i++) {
                     14:                for (j = 0, count = 0; j < DECK_SZ; j++)
                     15:                        if (Deck[j] == i)
                     16:                                count++;
                     17:                printf("%2d %16s -> %5d %5d %4d %s\n", i, C_name[i], Numcards[i], count, Numneed[i], C_name[opposite(i)]);
                     18:        }
                     19: }

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.