Skip to content

Bug with board count in omahacmpn.c #2

@Dome5881

Description

@Dome5881

Found a small bug in one of the examples - in the omahacmpn.c running it goes over a different number of boards when used with 2 players and defining a board. (Shows 946 instead of 820 Boards.)

Inserting
parseArgs(argc, argv);

CardMask_OR(gDeadCards, gDeadCards, gCommonCards);
deadCards = gDeadCards;
for (i=0; i<gNPlayers; i++) {
    CardMask_OR(deadCards, deadCards, gPlayerCards[i]);
};

seems to fix the issue

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions