Skip to content

Several moves into a game, it loses track of where to place the stones #4

@abwillingham

Description

@abwillingham

Whenever I set up a custom board layout for example:

self.board = [1,3,2,1,4,2,4,0,2,1,2,0,2,0]

After several moves it places the stones in the wrong locations.
Here is a continuation of this custom game. The last move, player move 3, should result in my right three spots with: 7|1|1
Instead it is 7|1|0 and it mistakenly gives me a bunch of points.


moves: 6 5 4 3 2 1
↓ ↓ ↓ ↓ ↓ ↓

      0| 2| 0| 2| 1| 2

AI --> 1 0 <-- You
3| 2| 1| 4| 2| 4

      ↑  ↑  ↑  ↑  ↑  ↑

moves: 1 2 3 4 5 6
Calculating best move...
Calculated in 39.5s
([2], -3)
Player move: 2

moves: 6 5 4 3 2 1
↓ ↓ ↓ ↓ ↓ ↓

      0| 2| 0| 2| 1| 2

AI --> 1 0 <-- You
3| 0| 2| 5| 2| 4

      ↑  ↑  ↑  ↑  ↑  ↑

moves: 1 2 3 4 5 6
Opponent move: 5

moves: 6 5 4 3 2 1
↓ ↓ ↓ ↓ ↓ ↓

      1| 0| 0| 2| 1| 2

AI --> 2 0 <-- You
3| 0| 2| 5| 2| 4

      ↑  ↑  ↑  ↑  ↑  ↑

moves: 1 2 3 4 5 6
Opponent move: 6

moves: 6 5 4 3 2 1
↓ ↓ ↓ ↓ ↓ ↓

      0| 0| 0| 2| 1| 2

AI --> 3 0 <-- You
3| 0| 2| 5| 2| 4

      ↑  ↑  ↑  ↑  ↑  ↑

moves: 1 2 3 4 5 6
Opponent move: 2

moves: 6 5 4 3 2 1
↓ ↓ ↓ ↓ ↓ ↓

      0| 0| 0| 3| 0| 2

AI --> 3 0 <-- You
3| 0| 2| 5| 2| 4

      ↑  ↑  ↑  ↑  ↑  ↑

moves: 1 2 3 4 5 6
Calculating best move...
Calculated in 11.2s
([1], -3)
Player move: 1

moves: 6 5 4 3 2 1
↓ ↓ ↓ ↓ ↓ ↓

      0| 0| 0| 3| 0| 2

AI --> 3 0 <-- You
0| 1| 3| 6| 2| 4

      ↑  ↑  ↑  ↑  ↑  ↑

moves: 1 2 3 4 5 6
Opponent move: 3

moves: 6 5 4 3 2 1
↓ ↓ ↓ ↓ ↓ ↓

      0| 1| 1| 0| 0| 2

AI --> 4 0 <-- You
0| 1| 3| 6| 2| 4

      ↑  ↑  ↑  ↑  ↑  ↑

moves: 1 2 3 4 5 6
Calculating best move...
Calculated in 20.5s
([6], -2)
Player move: 6

moves: 6 5 4 3 2 1
↓ ↓ ↓ ↓ ↓ ↓

      0| 1| 1| 1| 1| 3

AI --> 4 1 <-- You
0| 1| 3| 6| 2| 0

      ↑  ↑  ↑  ↑  ↑  ↑

moves: 1 2 3 4 5 6
Opponent move: 3

moves: 6 5 4 3 2 1
↓ ↓ ↓ ↓ ↓ ↓

      0| 1| 2| 0| 1| 3

AI --> 4 1 <-- You
0| 1| 3| 6| 2| 0

      ↑  ↑  ↑  ↑  ↑  ↑

moves: 1 2 3 4 5 6
Calculating best move...
Calculated in 14.4s
([5, 6, 3], -2)
Player move: 5

moves: 6 5 4 3 2 1
↓ ↓ ↓ ↓ ↓ ↓

      0| 1| 2| 0| 1| 3

AI --> 4 2 <-- You
0| 1| 3| 6| 0| 1

      ↑  ↑  ↑  ↑  ↑  ↑

moves: 1 2 3 4 5 6
Player move: 6

moves: 6 5 4 3 2 1
↓ ↓ ↓ ↓ ↓ ↓

      0| 1| 2| 0| 1| 3

AI --> 4 3 <-- You
0| 1| 3| 6| 0| 0

      ↑  ↑  ↑  ↑  ↑  ↑

moves: 1 2 3 4 5 6
Player move: 3

moves: 6 5 4 3 2 1
↓ ↓ ↓ ↓ ↓ ↓

      0| 1| 2| 0| 1| 0

AI --> 4 7 <-- You
0| 1| 0| 7| 1| 0

      ↑  ↑  ↑  ↑  ↑  ↑

moves: 1 2 3 4 5 6
Opponent move:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions