-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMain.java
More file actions
33 lines (26 loc) · 760 Bytes
/
Main.java
File metadata and controls
33 lines (26 loc) · 760 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
import java.util.List;
public class Main {
public static void main(String[] args) {
Othello oth=new Othello();
int[][] dir =new int[8][2];
int x=0;
for (int i = 0; i < 3; i++) {
for (int j = 0; j < 3; j++) {
if(i!=1 || j!=1){
dir[x][0]=i-1;
dir[x][1]=j-1;
x++;
}
}
}
oth.printBoard();
// int ttt=oth.bestScore(oth.board,oth.turn,3,dir);
System.out.println("kkkkk");
oth.printBoard();
oth.fullGame(8,dir);
int t=oth.currentScore();
System.out.println(t);
// System.out.println(oth.count);
// System.out.println(ttt);
}
}