Next Previous Contents

4. Playing on the console

4.1 Command-line arguments

Wallyplus supports the following command-line arguments:

4.2 Console Output

A 9 x 9 board with a few stones will be displayed as:

        a b c d e f g h j
      1 . . . . . . . . . 1
      2 . . . . . O O . . 2
      3 . . O . . . # . . 3
      4 . . O . . . # . . 4
      5 O O ^ O . . . . . 5
      6 . # O # . # # . . 6
      7 . # # # . . . . . 7
      8 . . . . . . . . . 8
      9 . . . . . . . . . 9
        a b c d e f g h j

where '^' is a ko, '#' is black, 'O' is white.

4.3 Strength

4.4 Influence

This uses an influence function that sets up an array EDGE x EDGE in size - it then adds influence as defined by Ryder:

            1
    1   2   5   2   1
    1   6   13  6   1
1   5   13  60  13  5   1
    1   6   13  6   1
    1   2   5   2   1
            1

For friendly pieces (add a negative sign for enemy pieces).

The evaluation uses the opposite absolute value of the place checked (guaranteeing a negative value) - and the greater the number (i.e. furthest from any other piece) is used. This will be used in the beginning of the game (first 10-15 moves). After that the engine reverts to pure pattern matching.


Next Previous Contents