- Own more boxes than your opponent.
- Note that a draw is not feasible if the total number of boxes is odd.
In the Wood 1 league the board is a 2x2 square grid of boxes.
The two players are named 'A' and 'B'. Player 'A' plays first.
The boxes are named with a one letter column and a one number row, for example 'A1'. A is the leftmost column 1 is the downmost row.
Each box has 4 sides named 'L'=left, 'T'=top, 'R'=right and 'B'=bottom. Note that most sides are shared by two boxes. For example A1 R and B2 L designate the same box side.
First line: playerScore opponentScore: the number of boxes that you and your opponent actually own.
Second line: numBoxes: the number of playable boxes.
Next numBoxes lines: box sides: two string. The first string is the box name, for example "A1". The second string lists the playable sides for that box. "LTRB" for example if the four sides of the box are free .