-
Notifications
You must be signed in to change notification settings - Fork 0
/
Output
108 lines (106 loc) · 3.43 KB
/
Output
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
Game 1
Human moves represented by x and Computer moves is represented o in matrix
You are starting player
Enter X Coordniate0
Enter Y Coordniate0
No of States Generated by Min Max 59704
X and Y values selected by Min Max 1 1
No of States Generated by Min Max with pruning 4089
X and Y values selected by Min Max with pruning 1 1
-----------------------Matrix-------------------------------
x _ _
_ o _
_ _ _
------------------------------------------------------------
Enter X Coordniate2
Enter Y Coordniate2
No of States Generated by Min Max 1052
X and Y values selected by Min Max 0 1
No of States Generated by Min Max with pruning 459
X and Y values selected by Min Max with pruning 0 1
-----------------------Matrix-------------------------------
x o _
_ o _
_ _ x
------------------------------------------------------------
Enter X Coordniate2
Enter Y Coordniate1
No of States Generated by Min Max 46
X and Y values selected by Min Max 2 0
No of States Generated by Min Max with pruning 42
X and Y values selected by Min Max with pruning 2 0
-----------------------Matrix-------------------------------
x o _
_ o _
o x x
------------------------------------------------------------
Enter X Coordniate0
Enter Y Coordniate2
No of States Generated by Min Max 4
X and Y values selected by Min Max 1 2
No of States Generated by Min Max with pruning 4
X and Y values selected by Min Max with pruning 1 2
-----------------------Matrix-------------------------------
x o x
_ o o
o x x
------------------------------------------------------------
Enter X Coordniate1
Enter Y Coordniate0
No of States Generated by Min Max 0
X and Y values selected by Min Max -1 -1
No of States Generated by Min Max with pruning 0
X and Y values selected by Min Max with pruning -1 -1
-----------------------Matrix-------------------------------
x o x
x o o
o x o
------------------------------------------------------------
Game is draw
Human moves represented by x and Computer moves is represented o in matrix
You are starting player
Enter X Coordniate0
Enter Y Coordniate0
No of States Generated by Min Max 59704
X and Y values selected by Min Max 1 1
No of States Generated by Min Max with pruning 4089
X and Y values selected by Min Max with pruning 1 1
-----------------------Matrix-------------------------------
x _ _
_ o _
_ _ _
------------------------------------------------------------
Enter X Coordniate0
Enter Y Coordniate2
No of States Generated by Min Max 926
X and Y values selected by Min Max 0 1
No of States Generated by Min Max with pruning 263
X and Y values selected by Min Max with pruning 0 1
-----------------------Matrix-------------------------------
x o x
_ o _
_ _ _
------------------------------------------------------------
Enter X Coordniate2
Enter Y Coordniate2
No of States Generated by Min Max 33
X and Y values selected by Min Max 1 2
No of States Generated by Min Max with pruning 25
X and Y values selected by Min Max with pruning 1 2
-----------------------Matrix-------------------------------
x o x
_ o o
_ _ x
------------------------------------------------------------
Enter X Coordniate1
Enter Y Coordniate0
No of States Generated by Min Max 3
X and Y values selected by Min Max 2 1
No of States Generated by Min Max with pruning 3
X and Y values selected by Min Max with pruning 2 1
-----------------------Matrix-------------------------------
x o x
x o o
_ o x
------------------------------------------------------------
Computer won the game (dont mind it!) he is unbeatable