junxiaosong / AlphaZero_Gomoku

An implementation of the AlphaZero algorithm for Gomoku (also called Gobang or Five in a Row)
MIT License
3.34k stars 970 forks source link

I won the provided model on first try... 试下第一局我就赢了自带的模型... #105

Open QmZh opened 4 years ago

QmZh commented 4 years ago

It seems the model made a mistake near the end. 似乎提供的模型在接近末尾的地方出错了。 Before that I think it did an OK job. 之前下得还可以。 The process in short: 简略过程: O (model) went first. X (I) went second. O表示先走的模型,X表示我。 3,4 4,3 4,4 5,4 3,2 3,3 5,3 3,5 2,4 4,5 1,4 0,4 6,4 4,2 6,2 6,3 3,6 2,5 1,5 5,5 6,5 1,3 7,1 0,3 2,3 0,5 4,1 5,0 1,2 0,6 0,2 0,7 Game end. Winner is Human 1

The process: 过程: ..\AlphaZero_Gomoku-master>python human_play.py Player 1 with X Player 2 with O

   0       1       2       3       4       5       6       7

7

6

5

4

3

2

1

0

Player 1 with X Player 2 with O

   0       1       2       3       4       5       6       7

7

6

5

4

3 O _

2

1

0

Your move: 3 4 invalid move Your move: (3,4) invalid move Your move: 3,4 invalid move Your move: 4,3 Player 1 with X Player 2 with O

   0       1       2       3       4       5       6       7

7

6

5

4 X _

3 O _

2

1

0

Player 1 with X Player 2 with O

   0       1       2       3       4       5       6       7

7

6

5

4 X O

3 O _

2

1

0

Your move: 5,4 Player 1 with X Player 2 with O

   0       1       2       3       4       5       6       7

7

6

5 X _

4 X O

3 O _

2

1

0

Player 1 with X Player 2 with O

   0       1       2       3       4       5       6       7

7

6

5 X _

4 X O

3 O O

2

1

0

Your move: 3,3 Player 1 with X Player 2 with O

   0       1       2       3       4       5       6       7

7

6

5 X _

4 X O

3 O X O _

2

1

0

Player 1 with X Player 2 with O

   0       1       2       3       4       5       6       7

7

6

5 O X

4 X O

3 O X O _

2

1

0

Your move: 3,5 Player 1 with X Player 2 with O

   0       1       2       3       4       5       6       7

7

6

5 O X

4 X O

3 O X O X

2

1

0

Player 1 with X Player 2 with O

   0       1       2       3       4       5       6       7

7

6

5 O X

4 X O

3 O X O X

2 O _

1

0

Your move: 4,5 Player 1 with X Player 2 with O

   0       1       2       3       4       5       6       7

7

6

5 O X

4 X O X _

3 O X O X

2 O _

1

0

Player 1 with X Player 2 with O

   0       1       2       3       4       5       6       7

7

6

5 O X

4 X O X _

3 O X O X

2 O _

1 O _

0

Your move: 0,4 Player 1 with X Player 2 with O

   0       1       2       3       4       5       6       7

7

6

5 O X

4 X O X _

3 O X O X

2 O _

1 O _

0 X _

Player 1 with X Player 2 with O

   0       1       2       3       4       5       6       7

7

6 O _

5 O X

4 X O X _

3 O X O X

2 O _

1 O _

0 X _

Your move: 4,2 Player 1 with X Player 2 with O

   0       1       2       3       4       5       6       7

7

6 O _

5 O X

4 X X O X

3 O X O X

2 O _

1 O _

0 X _

Player 1 with X Player 2 with O

   0       1       2       3       4       5       6       7

7

6 O O

5 O X

4 X X O X

3 O X O X

2 O _

1 O _

0 X _

Your move: 6,3 Player 1 with X Player 2 with O

   0       1       2       3       4       5       6       7

7

6 O X O _

5 O X

4 X X O X

3 O X O X

2 O _

1 O _

0 X _

Player 1 with X Player 2 with O

   0       1       2       3       4       5       6       7

7

6 O X O _

5 O X

4 X X O X

3 O X O X O _

2 O _

1 O _

0 X _

Your move: 2,5 Player 1 with X Player 2 with O

   0       1       2       3       4       5       6       7

7

6 O X O _

5 O X

4 X X O X

3 O X O X O _

2 O X

1 O _

0 X _

Player 1 with X Player 2 with O

   0       1       2       3       4       5       6       7

7

6 O X O _

5 O X

4 X X O X

3 O X O X O _

2 O X

1 O O

0 X _

Your move: 5,5 Player 1 with X Player 2 with O

   0       1       2       3       4       5       6       7

7

6 O X O _

5 O X X _

4 X X O X

3 O X O X O _

2 O X

1 O O

0 X _

Player 1 with X Player 2 with O

   0       1       2       3       4       5       6       7

7

6 O X O O

5 O X X _

4 X X O X

3 O X O X O _

2 O X

1 O O

0 X _

Your move: 1,3 Player 1 with X Player 2 with O

   0       1       2       3       4       5       6       7

7

6 O X O O

5 O X X _

4 X X O X

3 O X O X O _

2 O X

1 X O O _

0 X _

Player 1 with X Player 2 with O

   0       1       2       3       4       5       6       7

7 O _

6 O X O O

5 O X X _

4 X X O X

3 O X O X O _

2 O X

1 X O O _

0 X _

Your move: 0,3 Player 1 with X Player 2 with O

   0       1       2       3       4       5       6       7

7 O _

6 O X O O

5 O X X _

4 X X O X

3 O X O X O _

2 O X

1 X O O _

0 X X

Player 1 with X Player 2 with O

   0       1       2       3       4       5       6       7

7 O _

6 O X O O

5 O X X _

4 X X O X

3 O X O X O _

2 O O X _

1 X O O _

0 X X

Your move: 0,5 Player 1 with X Player 2 with O

   0       1       2       3       4       5       6       7

7 O _

6 O X O O

5 O X X _

4 X X O X

3 O X O X O _

2 O O X _

1 X O O _

0 X X X _

Player 1 with X Player 2 with O

   0       1       2       3       4       5       6       7

7 O _

6 O X O O

5 O X X _

4 O X X O X _

3 O X O X O _

2 O O X _

1 X O O _

0 X X X _

Your move: 5,0 Player 1 with X Player 2 with O

   0       1       2       3       4       5       6       7

7 O _

6 O X O O

5 X O X X

4 O X X O X _

3 O X O X O _

2 O O X _

1 X O O _

0 X X X _

Player 1 with X Player 2 with O

   0       1       2       3       4       5       6       7

7 O _

6 O X O O

5 X O X X

4 O X X O X _

3 O X O X O _

2 O O X _

1 O X O O

0 X X X _

Your move: 0,6 Player 1 with X Player 2 with O

   0       1       2       3       4       5       6       7

7 O _

6 O X O O

5 X O X X

4 O X X O X _

3 O X O X O _

2 O O X _

1 O X O O

0 X X X X

Player 1 with X Player 2 with O

   0       1       2       3       4       5       6       7

7 O _

6 O X O O

5 X O X X

4 O X X O X _

3 O X O X O _

2 O O X _

1 O X O O

0 O X X X X _

Your move: 0,7 Player 1 with X Player 2 with O

   0       1       2       3       4       5       6       7

7 O _

6 O X O O

5 X O X X

4 O X X O X _

3 O X O X O _

2 O O X _

1 O X O O

0 O X X X X X

Game end. Winner is Human 1