The gamenumber filter consists of the single word gamenumber. It is a numeric filter that represents the game number of the game currently being examined. The first game examined is game number 1 and each subsequent game increases the game number by 1:
    gamenumber == 1

The gamenumber filter can be a CQL parameter. The game number can also be specified on the command line using the command line option -gamenumber or -g, where it is followed by a range:

    cql -g 1 10 foo.cql