View difference between Paste ID: 96YQZ1ie and k2spxAXd
SHOW: | | - or go back to the newest paste.
1-
- Change return statements to UCI notation
1+
2
- Add in check functionality (line 111, 207)
3
4
5
You need to print 2 things in total:
6
7
All the possible moves for the piece that was randomly picked for that turn
8
The board state itself
9
10
Return move in UCI notation
11
12
right now we are returning a list of elements
13
i.e. "2", "3", "4" 
14
15
what we need:
16
"a1a2", "a1a3", "a1a4"
17
18
create a list of dictionaries to create UCI notation
19
1) first get the x coordinate and y coordinate 
20
2) columnNotation[XHolder] + columnNotation[YHolder] + columnNotation[x] + columnNotation[y] --> "a1a2"