Skip to content

Instantly share code, notes, and snippets.

@keunhong
Created June 20, 2015 04:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save keunhong/cd95b1b4733c498c3188 to your computer and use it in GitHub Desktop.
Save keunhong/cd95b1b4733c498c3188 to your computer and use it in GitHub Desktop.
______________________ _________________________ _________.___
\______ \_ _____/\ \ / /\_ _____/\______ \/ _____/| |
| _/| __)_ \ / | __)_ | _/\_____ \ | |
| | \| \ \ / | \ | | \/ \| |
|____|_ /_______ / \___/ /_______ / |____|_ /_______ /|___|
\/ \/ \/ \/ \/
[<<] K Park, 2008 (k@y.flixey.com)
[<<] Visit http://flixey.com for more.
[<<] GNU General Public License:
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
[>>] Input size of board: [<<] Board size is: 8 x 8
[<<] Select play mode (1 = multiplayer, 2 = singleplayer, 3 = AI only ): [<<] Creating game object...
[<<] Game object successfully created.
[<<] Creating first AI object...
[<<] First AI object successfully created.
[<<] Creating second AI object...
[<<] Second AI object successfully created.
[<<] Player 1's turn:
[<<] Current board:
1 2 3 4 5 6 7 8
1 0 0 0 0 0 0 0 0
2 0 0 0 0 0 0 0 0
3 0 0 0 0 0 0 0 0
4 0 0 0 1 2 0 0 0
5 0 0 0 2 1 0 0 0
6 0 0 0 0 0 0 0 0
7 0 0 0 0 0 0 0 0
8 0 0 0 0 0 0 0 0
[<<] AI (Player 1) is thinking...
[<<] AI (Player 1) is making its move at (3,5)...
[<<] Current board:
1 2 3 4 5 6 7 8
1 0 0 0 0 0 0 0 0
2 0 0 0 0 0 0 0 0
3 0 0 0 0 0 0 0 0
4 0 0 0 1 2 0 0 0
5 0 0 1 1 1 0 0 0
6 0 0 0 0 0 0 0 0
7 0 0 0 0 0 0 0 0
8 0 0 0 0 0 0 0 0
[<<] Current stats:
[<<] Player 1 score: 4
[<<] Player 2 score: 1
[<<] AI (Player 2) is thinking...
[<<] AI (Player 2) is making its move at (3,6)...
[<<] Current board:
1 2 3 4 5 6 7 8
1 0 0 0 0 0 0 0 0
2 0 0 0 0 0 0 0 0
3 0 0 0 0 0 0 0 0
4 0 0 0 1 2 0 0 0
5 0 0 1 2 1 0 0 0
6 0 0 2 0 0 0 0 0
7 0 0 0 0 0 0 0 0
8 0 0 0 0 0 0 0 0
[<<] Current stats:
[<<] Player 1 score: 3
[<<] Player 2 score: 3
[<<] AI (Player 1) is thinking...
[<<] AI (Player 1) is making its move at (6,4)...
[<<] Current board:
1 2 3 4 5 6 7 8
1 0 0 0 0 0 0 0 0
2 0 0 0 0 0 0 0 0
3 0 0 0 0 0 0 0 0
4 0 0 0 1 1 1 0 0
5 0 0 1 2 1 0 0 0
6 0 0 2 0 0 0 0 0
7 0 0 0 0 0 0 0 0
8 0 0 0 0 0 0 0 0
[<<] Current stats:
[<<] Player 1 score: 5
[<<] Player 2 score: 2
[<<] AI (Player 2) is thinking...
[<<] AI (Player 2) is making its move at (6,5)...
[<<] Current board:
1 2 3 4 5 6 7 8
1 0 0 0 0 0 0 0 0
2 0 0 0 0 0 0 0 0
3 0 0 0 0 0 0 0 0
4 0 0 0 1 1 1 0 0
5 0 0 1 2 2 2 0 0
6 0 0 2 0 0 0 0 0
7 0 0 0 0 0 0 0 0
8 0 0 0 0 0 0 0 0
[<<] Current stats:
[<<] Player 1 score: 4
[<<] Player 2 score: 4
[<<] AI (Player 1) is thinking...
[<<] AI (Player 1) is making its move at (6,6)...
[<<] Current board:
1 2 3 4 5 6 7 8
1 0 0 0 0 0 0 0 0
2 0 0 0 0 0 0 0 0
3 0 0 0 0 0 0 0 0
4 0 0 0 1 1 1 0 0
5 0 0 1 2 1 1 0 0
6 0 0 2 0 0 1 0 0
7 0 0 0 0 0 0 0 0
8 0 0 0 0 0 0 0 0
[<<] Current stats:
[<<] Player 1 score: 7
[<<] Player 2 score: 2
[<<] AI (Player 2) is thinking...
[<<] AI (Player 2) is making its move at (7,5)...
[<<] Current board:
1 2 3 4 5 6 7 8
1 0 0 0 0 0 0 0 0
2 0 0 0 0 0 0 0 0
3 0 0 0 0 0 0 0 0
4 0 0 0 1 1 1 0 0
5 0 0 1 2 2 2 2 0
6 0 0 2 0 0 1 0 0
7 0 0 0 0 0 0 0 0
8 0 0 0 0 0 0 0 0
[<<] Current stats:
[<<] Player 1 score: 5
[<<] Player 2 score: 5
[<<] AI (Player 1) is thinking...
[<<] AI (Player 1) is making its move at (8,5)...
[<<] Current board:
1 2 3 4 5 6 7 8
1 0 0 0 0 0 0 0 0
2 0 0 0 0 0 0 0 0
3 0 0 0 0 0 0 0 0
4 0 0 0 1 1 1 0 0
5 0 0 1 1 1 1 1 1
6 0 0 2 0 0 1 0 0
7 0 0 0 0 0 0 0 0
8 0 0 0 0 0 0 0 0
[<<] Current stats:
[<<] Player 1 score: 10
[<<] Player 2 score: 1
[<<] AI (Player 2) is thinking...
[<<] AI (Player 2) is making its move at (6,3)...
[<<] Current board:
1 2 3 4 5 6 7 8
1 0 0 0 0 0 0 0 0
2 0 0 0 0 0 0 0 0
3 0 0 0 0 0 2 0 0
4 0 0 0 1 2 1 0 0
5 0 0 1 2 1 1 1 1
6 0 0 2 0 0 1 0 0
7 0 0 0 0 0 0 0 0
8 0 0 0 0 0 0 0 0
[<<] Current stats:
[<<] Player 1 score: 8
[<<] Player 2 score: 4
[<<] AI (Player 1) is thinking...
[<<] AI (Player 1) is making its move at (5,3)...
[<<] Current board:
1 2 3 4 5 6 7 8
1 0 0 0 0 0 0 0 0
2 0 0 0 0 0 0 0 0
3 0 0 0 0 1 2 0 0
4 0 0 0 1 1 1 0 0
5 0 0 1 2 1 1 1 1
6 0 0 2 0 0 1 0 0
7 0 0 0 0 0 0 0 0
8 0 0 0 0 0 0 0 0
[<<] Current stats:
[<<] Player 1 score: 10
[<<] Player 2 score: 3
[<<] AI (Player 2) is thinking...
[<<] AI (Player 2) is making its move at (4,3)...
[<<] Current board:
1 2 3 4 5 6 7 8
1 0 0 0 0 0 0 0 0
2 0 0 0 0 0 0 0 0
3 0 0 0 2 2 2 0 0
4 0 0 0 2 1 1 0 0
5 0 0 1 2 1 1 1 1
6 0 0 2 0 0 1 0 0
7 0 0 0 0 0 0 0 0
8 0 0 0 0 0 0 0 0
[<<] Current stats:
[<<] Player 1 score: 8
[<<] Player 2 score: 6
[<<] AI (Player 1) is thinking...
[<<] AI (Player 1) is making its move at (5,2)...
[<<] Current board:
1 2 3 4 5 6 7 8
1 0 0 0 0 0 0 0 0
2 0 0 0 0 1 0 0 0
3 0 0 0 2 1 2 0 0
4 0 0 0 2 1 1 0 0
5 0 0 1 2 1 1 1 1
6 0 0 2 0 0 1 0 0
7 0 0 0 0 0 0 0 0
8 0 0 0 0 0 0 0 0
[<<] Current stats:
[<<] Player 1 score: 10
[<<] Player 2 score: 5
[<<] AI (Player 2) is thinking...
[<<] AI (Player 2) is making its move at (6,1)...
[<<] Current board:
1 2 3 4 5 6 7 8
1 0 0 0 0 0 2 0 0
2 0 0 0 0 2 0 0 0
3 0 0 0 2 1 2 0 0
4 0 0 0 2 1 1 0 0
5 0 0 1 2 1 1 1 1
6 0 0 2 0 0 1 0 0
7 0 0 0 0 0 0 0 0
8 0 0 0 0 0 0 0 0
[<<] Current stats:
[<<] Player 1 score: 9
[<<] Player 2 score: 7
[<<] AI (Player 1) is thinking...
[<<] AI (Player 1) is making its move at (5,1)...
[<<] Current board:
1 2 3 4 5 6 7 8
1 0 0 0 0 1 2 0 0
2 0 0 0 0 1 0 0 0
3 0 0 0 2 1 2 0 0
4 0 0 0 2 1 1 0 0
5 0 0 1 2 1 1 1 1
6 0 0 2 0 0 1 0 0
7 0 0 0 0 0 0 0 0
8 0 0 0 0 0 0 0 0
[<<] Current stats:
[<<] Player 1 score: 11
[<<] Player 2 score: 6
[<<] AI (Player 2) is thinking...
[<<] AI (Player 2) is making its move at (4,1)...
[<<] Current board:
1 2 3 4 5 6 7 8
1 0 0 0 2 2 2 0 0
2 0 0 0 0 2 0 0 0
3 0 0 0 2 1 2 0 0
4 0 0 0 2 1 1 0 0
5 0 0 1 2 1 1 1 1
6 0 0 2 0 0 1 0 0
7 0 0 0 0 0 0 0 0
8 0 0 0 0 0 0 0 0
[<<] Current stats:
[<<] Player 1 score: 9
[<<] Player 2 score: 9
[<<] AI (Player 1) is thinking...
[<<] AI (Player 1) is making its move at (3,3)...
[<<] Current board:
1 2 3 4 5 6 7 8
1 0 0 0 2 2 2 0 0
2 0 0 0 0 2 0 0 0
3 0 0 1 1 1 2 0 0
4 0 0 0 1 1 1 0 0
5 0 0 1 2 1 1 1 1
6 0 0 2 0 0 1 0 0
7 0 0 0 0 0 0 0 0
8 0 0 0 0 0 0 0 0
[<<] Current stats:
[<<] Player 1 score: 12
[<<] Player 2 score: 7
[<<] AI (Player 2) is thinking...
[<<] AI (Player 2) is making its move at (5,6)...
[<<] Current board:
1 2 3 4 5 6 7 8
1 0 0 0 2 2 2 0 0
2 0 0 0 0 2 0 0 0
3 0 0 1 1 2 2 0 0
4 0 0 0 1 2 1 0 0
5 0 0 1 2 2 1 1 1
6 0 0 2 0 2 1 0 0
7 0 0 0 0 0 0 0 0
8 0 0 0 0 0 0 0 0
[<<] Current stats:
[<<] Player 1 score: 9
[<<] Player 2 score: 11
[<<] AI (Player 1) is thinking...
[<<] AI (Player 1) is making its move at (4,6)...
[<<] Current board:
1 2 3 4 5 6 7 8
1 0 0 0 2 2 2 0 0
2 0 0 0 0 2 0 0 0
3 0 0 1 1 2 2 0 0
4 0 0 0 1 2 1 0 0
5 0 0 1 1 1 1 1 1
6 0 0 2 1 1 1 0 0
7 0 0 0 0 0 0 0 0
8 0 0 0 0 0 0 0 0
[<<] Current stats:
[<<] Player 1 score: 13
[<<] Player 2 score: 8
[<<] AI (Player 2) is thinking...
[<<] AI (Player 2) is making its move at (8,6)...
[<<] Current board:
1 2 3 4 5 6 7 8
1 0 0 0 2 2 2 0 0
2 0 0 0 0 2 0 0 0
3 0 0 1 1 2 2 0 0
4 0 0 0 1 2 2 0 0
5 0 0 1 1 1 1 2 1
6 0 0 2 1 1 1 0 2
7 0 0 0 0 0 0 0 0
8 0 0 0 0 0 0 0 0
[<<] Current stats:
[<<] Player 1 score: 11
[<<] Player 2 score: 11
[<<] AI (Player 1) is thinking...
[<<] AI (Player 1) is making its move at (8,4)...
[<<] Current board:
1 2 3 4 5 6 7 8
1 0 0 0 2 2 2 0 0
2 0 0 0 0 2 0 0 0
3 0 0 1 1 2 2 0 0
4 0 0 0 1 2 2 0 1
5 0 0 1 1 1 1 1 1
6 0 0 2 1 1 1 0 2
7 0 0 0 0 0 0 0 0
8 0 0 0 0 0 0 0 0
[<<] Current stats:
[<<] Player 1 score: 13
[<<] Player 2 score: 10
[<<] AI (Player 2) is thinking...
[<<] AI (Player 2) is making its move at (8,3)...
[<<] Current board:
1 2 3 4 5 6 7 8
1 0 0 0 2 2 2 0 0
2 0 0 0 0 2 0 0 0
3 0 0 1 1 2 2 0 2
4 0 0 0 1 2 2 0 2
5 0 0 1 1 1 1 1 2
6 0 0 2 1 1 1 0 2
7 0 0 0 0 0 0 0 0
8 0 0 0 0 0 0 0 0
[<<] Current stats:
[<<] Player 1 score: 11
[<<] Player 2 score: 13
[<<] AI (Player 1) is thinking...
[<<] AI (Player 1) is making its move at (7,4)...
[<<] Current board:
1 2 3 4 5 6 7 8
1 0 0 0 2 2 2 0 0
2 0 0 0 0 2 0 0 0
3 0 0 1 1 2 2 0 2
4 0 0 0 1 1 1 1 2
5 0 0 1 1 1 1 1 2
6 0 0 2 1 1 1 0 2
7 0 0 0 0 0 0 0 0
8 0 0 0 0 0 0 0 0
[<<] Current stats:
[<<] Player 1 score: 14
[<<] Player 2 score: 11
[<<] AI (Player 2) is thinking...
[<<] AI (Player 2) is making its move at (3,4)...
[<<] Current board:
1 2 3 4 5 6 7 8
1 0 0 0 2 2 2 0 0
2 0 0 0 0 2 0 0 0
3 0 0 1 2 2 2 0 2
4 0 0 2 2 2 2 2 2
5 0 0 2 1 1 1 1 2
6 0 0 2 1 1 1 0 2
7 0 0 0 0 0 0 0 0
8 0 0 0 0 0 0 0 0
[<<] Current stats:
[<<] Player 1 score: 8
[<<] Player 2 score: 18
[<<] AI (Player 1) is thinking...
[<<] AI (Player 1) is making its move at (7,3)...
[<<] Current board:
1 2 3 4 5 6 7 8
1 0 0 0 2 2 2 0 0
2 0 0 0 0 2 0 0 0
3 0 0 1 1 1 1 1 2
4 0 0 2 2 2 1 1 2
5 0 0 2 1 1 1 1 2
6 0 0 2 1 1 1 0 2
7 0 0 0 0 0 0 0 0
8 0 0 0 0 0 0 0 0
[<<] Current stats:
[<<] Player 1 score: 14
[<<] Player 2 score: 13
[<<] AI (Player 2) is thinking...
[<<] AI (Player 2) is making its move at (5,7)...
[<<] Current board:
1 2 3 4 5 6 7 8
1 0 0 0 2 2 2 0 0
2 0 0 0 0 2 0 0 0
3 0 0 1 1 1 1 1 2
4 0 0 2 2 2 1 1 2
5 0 0 2 1 2 1 2 2
6 0 0 2 2 2 2 0 2
7 0 0 0 0 2 0 0 0
8 0 0 0 0 0 0 0 0
[<<] Current stats:
[<<] Player 1 score: 9
[<<] Player 2 score: 19
[<<] AI (Player 1) is thinking...
[<<] AI (Player 1) is making its move at (5,8)...
[<<] Current board:
1 2 3 4 5 6 7 8
1 0 0 0 2 2 2 0 0
2 0 0 0 0 2 0 0 0
3 0 0 1 1 1 1 1 2
4 0 0 2 2 1 1 1 2
5 0 0 2 1 1 1 2 2
6 0 0 2 2 1 2 0 2
7 0 0 0 0 1 0 0 0
8 0 0 0 0 1 0 0 0
[<<] Current stats:
[<<] Player 1 score: 14
[<<] Player 2 score: 15
[<<] AI (Player 2) is thinking...
[<<] AI (Player 2) is making its move at (4,8)...
[<<] Current board:
1 2 3 4 5 6 7 8
1 0 0 0 2 2 2 0 0
2 0 0 0 0 2 0 0 0
3 0 0 1 1 1 1 1 2
4 0 0 2 2 1 1 1 2
5 0 0 2 1 1 1 2 2
6 0 0 2 2 1 2 0 2
7 0 0 0 0 2 0 0 0
8 0 0 0 2 1 0 0 0
[<<] Current stats:
[<<] Player 1 score: 13
[<<] Player 2 score: 17
[<<] AI (Player 1) is thinking...
[<<] AI (Player 1) is making its move at (3,8)...
[<<] Current board:
1 2 3 4 5 6 7 8
1 0 0 0 2 2 2 0 0
2 0 0 0 0 2 0 0 0
3 0 0 1 1 1 1 1 2
4 0 0 2 2 1 1 1 2
5 0 0 2 1 1 1 2 2
6 0 0 2 2 1 2 0 2
7 0 0 0 0 2 0 0 0
8 0 0 1 1 1 0 0 0
[<<] Current stats:
[<<] Player 1 score: 15
[<<] Player 2 score: 16
[<<] AI (Player 2) is thinking...
[<<] AI (Player 2) is making its move at (8,2)...
[<<] Current board:
1 2 3 4 5 6 7 8
1 0 0 0 2 2 2 0 0
2 0 0 0 0 2 0 0 2
3 0 0 1 1 1 1 2 2
4 0 0 2 2 1 2 1 2
5 0 0 2 1 2 1 2 2
6 0 0 2 2 1 2 0 2
7 0 0 0 0 2 0 0 0
8 0 0 1 1 1 0 0 0
[<<] Current stats:
[<<] Player 1 score: 12
[<<] Player 2 score: 20
[<<] AI (Player 1) is thinking...
[<<] AI (Player 1) is making its move at (7,7)...
[<<] Current board:
1 2 3 4 5 6 7 8
1 0 0 0 2 2 2 0 0
2 0 0 0 0 2 0 0 2
3 0 0 1 1 1 1 2 2
4 0 0 2 1 1 2 1 2
5 0 0 2 1 1 1 2 2
6 0 0 2 2 1 1 0 2
7 0 0 0 0 2 0 1 0
8 0 0 1 1 1 0 0 0
[<<] Current stats:
[<<] Player 1 score: 16
[<<] Player 2 score: 17
[<<] AI (Player 2) is thinking...
[<<] AI (Player 2) is making its move at (6,8)...
[<<] Current board:
1 2 3 4 5 6 7 8
1 0 0 0 2 2 2 0 0
2 0 0 0 0 2 0 0 2
3 0 0 1 1 1 1 2 2
4 0 0 2 1 1 2 1 2
5 0 0 2 1 1 1 2 2
6 0 0 2 2 1 1 0 2
7 0 0 0 0 2 0 2 0
8 0 0 1 1 1 2 0 0
[<<] Current stats:
[<<] Player 1 score: 15
[<<] Player 2 score: 19
[<<] AI (Player 1) is thinking...
[<<] AI (Player 1) is making its move at (8,8)...
[<<] Current board:
1 2 3 4 5 6 7 8
1 0 0 0 2 2 2 0 0
2 0 0 0 0 2 0 0 2
3 0 0 1 1 1 1 2 2
4 0 0 2 1 1 2 1 2
5 0 0 2 1 1 1 2 2
6 0 0 2 2 1 1 0 2
7 0 0 0 0 2 0 1 0
8 0 0 1 1 1 2 0 1
[<<] Current stats:
[<<] Player 1 score: 17
[<<] Player 2 score: 18
[<<] AI (Player 2) is thinking...
[<<] AI (Player 2) is making its move at (2,8)...
[<<] Current board:
1 2 3 4 5 6 7 8
1 0 0 0 2 2 2 0 0
2 0 0 0 0 2 0 0 2
3 0 0 1 1 1 1 2 2
4 0 0 2 1 1 2 1 2
5 0 0 2 1 1 1 2 2
6 0 0 2 2 1 1 0 2
7 0 0 0 0 2 0 1 0
8 0 2 2 2 2 2 0 1
[<<] Current stats:
[<<] Player 1 score: 14
[<<] Player 2 score: 22
[<<] AI (Player 1) is thinking...
[<<] AI (Player 1) is making its move at (7,6)...
[<<] Current board:
1 2 3 4 5 6 7 8
1 0 0 0 2 2 2 0 0
2 0 0 0 0 2 0 0 2
3 0 0 1 1 1 1 2 2
4 0 0 2 1 1 2 1 2
5 0 0 2 1 1 1 1 2
6 0 0 2 2 1 1 1 2
7 0 0 0 0 2 0 1 0
8 0 2 2 2 2 2 0 1
[<<] Current stats:
[<<] Player 1 score: 16
[<<] Player 2 score: 21
[<<] AI (Player 2) is thinking...
[<<] AI (Player 2) is making its move at (7,8)...
[<<] Current board:
1 2 3 4 5 6 7 8
1 0 0 0 2 2 2 0 0
2 0 0 0 0 2 0 0 2
3 0 0 1 1 1 1 2 2
4 0 0 2 1 1 2 2 2
5 0 0 2 1 1 1 2 2
6 0 0 2 2 1 1 2 2
7 0 0 0 0 2 0 2 0
8 0 2 2 2 2 2 2 1
[<<] Current stats:
[<<] Player 1 score: 12
[<<] Player 2 score: 26
[<<] AI (Player 1) is thinking...
[<<] AI (Player 1) is making its move at (1,8)...
[<<] Current board:
1 2 3 4 5 6 7 8
1 0 0 0 2 2 2 0 0
2 0 0 0 0 2 0 0 2
3 0 0 1 1 1 1 2 2
4 0 0 2 1 1 2 2 2
5 0 0 2 1 1 1 2 2
6 0 0 2 2 1 1 2 2
7 0 0 0 0 2 0 2 0
8 1 1 1 1 1 1 1 1
[<<] Current stats:
[<<] Player 1 score: 19
[<<] Player 2 score: 20
[<<] AI (Player 2) is thinking...
[<<] AI (Player 2) is making its move at (7,2)...
[<<] Current board:
1 2 3 4 5 6 7 8
1 0 0 0 2 2 2 0 0
2 0 0 0 0 2 0 2 2
3 0 0 1 1 1 2 2 2
4 0 0 2 1 2 2 2 2
5 0 0 2 2 1 1 2 2
6 0 0 2 2 1 1 2 2
7 0 0 0 0 2 0 2 0
8 1 1 1 1 1 1 1 1
[<<] Current stats:
[<<] Player 1 score: 16
[<<] Player 2 score: 24
[<<] AI (Player 1) is thinking...
[<<] AI (Player 1) is making its move at (7,1)...
[<<] Current board:
1 2 3 4 5 6 7 8
1 0 0 0 2 2 2 1 0
2 0 0 0 0 2 0 1 2
3 0 0 1 1 1 2 1 2
4 0 0 2 1 2 2 1 2
5 0 0 2 2 1 1 1 2
6 0 0 2 2 1 1 1 2
7 0 0 0 0 2 0 1 0
8 1 1 1 1 1 1 1 1
[<<] Current stats:
[<<] Player 1 score: 23
[<<] Player 2 score: 18
[<<] AI (Player 2) is thinking...
[<<] AI (Player 2) is making its move at (8,1)...
[<<] Current board:
1 2 3 4 5 6 7 8
1 0 0 0 2 2 2 2 2
2 0 0 0 0 2 0 2 2
3 0 0 1 1 1 2 1 2
4 0 0 2 1 2 2 1 2
5 0 0 2 2 1 1 1 2
6 0 0 2 2 1 1 1 2
7 0 0 0 0 2 0 1 0
8 1 1 1 1 1 1 1 1
[<<] Current stats:
[<<] Player 1 score: 21
[<<] Player 2 score: 21
[<<] AI (Player 1) is thinking...
[<<] AI (Player 1) is making its move at (6,2)...
[<<] Current board:
1 2 3 4 5 6 7 8
1 0 0 0 2 2 2 2 2
2 0 0 0 0 2 1 2 2
3 0 0 1 1 1 1 1 2
4 0 0 2 1 2 1 1 2
5 0 0 2 2 1 1 1 2
6 0 0 2 2 1 1 1 2
7 0 0 0 0 2 0 1 0
8 1 1 1 1 1 1 1 1
[<<] Current stats:
[<<] Player 1 score: 24
[<<] Player 2 score: 19
[<<] AI (Player 2) is thinking...
[<<] AI (Player 2) is making its move at (6,7)...
[<<] Current board:
1 2 3 4 5 6 7 8
1 0 0 0 2 2 2 2 2
2 0 0 0 0 2 2 2 2
3 0 0 1 1 1 2 1 2
4 0 0 2 1 2 2 1 2
5 0 0 2 2 1 2 1 2
6 0 0 2 2 2 2 2 2
7 0 0 0 0 2 2 1 0
8 1 1 1 1 1 1 1 1
[<<] Current stats:
[<<] Player 1 score: 17
[<<] Player 2 score: 27
[<<] AI (Player 1) is thinking...
[<<] AI (Player 1) is making its move at (8,7)...
[<<] Current board:
1 2 3 4 5 6 7 8
1 0 0 0 2 2 2 2 2
2 0 0 0 0 2 2 2 2
3 0 0 1 1 1 2 1 2
4 0 0 2 1 1 2 1 2
5 0 0 2 2 1 1 1 2
6 0 0 2 2 2 2 1 2
7 0 0 0 0 2 2 1 1
8 1 1 1 1 1 1 1 1
[<<] Current stats:
[<<] Player 1 score: 21
[<<] Player 2 score: 24
[<<] AI (Player 2) is thinking...
[<<] AI (Player 2) is making its move at (3,2)...
[<<] Current board:
1 2 3 4 5 6 7 8
1 0 0 0 2 2 2 2 2
2 0 0 2 0 2 2 2 2
3 0 0 2 1 1 2 1 2
4 0 0 2 1 1 2 1 2
5 0 0 2 2 1 1 1 2
6 0 0 2 2 2 2 1 2
7 0 0 0 0 2 2 1 1
8 1 1 1 1 1 1 1 1
[<<] Current stats:
[<<] Player 1 score: 20
[<<] Player 2 score: 26
[<<] AI (Player 1) is thinking...
[<<] AI (Player 1) is making its move at (4,7)...
[<<] Current board:
1 2 3 4 5 6 7 8
1 0 0 0 2 2 2 2 2
2 0 0 2 0 2 2 2 2
3 0 0 2 1 1 2 1 2
4 0 0 2 1 1 2 1 2
5 0 0 2 1 1 1 1 2
6 0 0 2 1 1 2 1 2
7 0 0 0 1 1 1 1 1
8 1 1 1 1 1 1 1 1
[<<] Current stats:
[<<] Player 1 score: 26
[<<] Player 2 score: 21
[<<] AI (Player 2) is thinking...
[<<] AI (Player 2) is making its move at (3,7)...
[<<] Current board:
1 2 3 4 5 6 7 8
1 0 0 0 2 2 2 2 2
2 0 0 2 0 2 2 2 2
3 0 0 2 1 1 2 1 2
4 0 0 2 1 1 2 1 2
5 0 0 2 1 2 1 1 2
6 0 0 2 2 1 2 1 2
7 0 0 2 1 1 1 1 1
8 1 1 1 1 1 1 1 1
[<<] Current stats:
[<<] Player 1 score: 24
[<<] Player 2 score: 24
[<<] AI (Player 1) is thinking...
[<<] AI (Player 1) is making its move at (3,1)...
[<<] Current board:
1 2 3 4 5 6 7 8
1 0 0 1 2 2 2 2 2
2 0 0 1 0 2 2 2 2
3 0 0 1 1 1 2 1 2
4 0 0 1 1 1 2 1 2
5 0 0 1 1 2 1 1 2
6 0 0 1 2 1 2 1 2
7 0 0 1 1 1 1 1 1
8 1 1 1 1 1 1 1 1
[<<] Current stats:
[<<] Player 1 score: 31
[<<] Player 2 score: 18
[<<] AI (Player 2) is thinking...
[<<] AI (Player 2) is making its move at (4,2)...
[<<] Current board:
1 2 3 4 5 6 7 8
1 0 0 1 2 2 2 2 2
2 0 0 1 2 2 2 2 2
3 0 0 1 2 2 2 1 2
4 0 0 1 2 1 2 1 2
5 0 0 1 2 2 1 1 2
6 0 0 1 2 1 2 1 2
7 0 0 1 1 1 1 1 1
8 1 1 1 1 1 1 1 1
[<<] Current stats:
[<<] Player 1 score: 27
[<<] Player 2 score: 23
[<<] Current board:
1 2 3 4 5 6 7 8
1 0 0 1 2 2 2 2 2
2 0 0 1 2 2 2 2 2
3 0 0 1 2 2 2 1 2
4 0 0 1 2 1 2 1 2
5 0 0 1 2 2 1 1 2
6 0 0 1 2 1 2 1 2
7 0 0 1 1 1 1 1 1
8 1 1 1 1 1 1 1 1
[<<] Current stats:
[<<] Player 1 score: 27
[<<] Player 2 score: 23
[<<] Game over !
[<<] Player 1 score: 27
[<<] Player 2 score: 23
[!!!] Player 1 WINS by 4 points!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment