Annotation of 43BSD/games/mille/table.c, revision 1.1

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

unix.superglobalmegacorp.com

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