This commit is contained in:
louiscklaw
2025-01-31 19:15:17 +08:00
parent 09adae8c8e
commit 6c60a73f30
1546 changed files with 286918 additions and 0 deletions

View File

@@ -0,0 +1,62 @@
# ITP3914-Assignment 19-20 (Reversi Game)
- [x] Pass All test cases and hidden test cases
Sample Result:
```
0 : 1 1 1 1 1 1
1 : 2 2 2 2 1 1
2 : 2 2 1 1 1 1
3 : 2 2 2 2 2 2
4 : 2 2 2 2 2 2
5 : 2 2 2 2 2 2
0 1 2 3 4 5
Game Finishes.
'1' - 12
'2' - 24
White wins.
```
Sample input:
```
-1 5
3 6
2 2
0 0
2 1
3 1
2 1
1 3
2 4
1 4
4 2
3 4
4 3
2 0
3 0
5 2
5 3
5 1
5 0
4 0
0 3
4 4
4 1
0 2
3 5
0 4
1 2
5 4
4 5
1 1
0 1
0 0
1 5
2 5
1 0
0 5
5 5
```