Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- - Change return statements to UCI notation
- - Add in check functionality (line 111, 207)
- You need to print 2 things in total:
- All the possible moves for the piece that was randomly picked for that turn
- The board state itself
- Return move in UCI notation
- right now we are returning a list of elements
- i.e. "2", "3", "4"
- what we need:
- "a1a2", "a1a3", "a1a4"
- create a list of dictionaries to create UCI notation
- 1) first get the x coordinate and y coordinate
- 2) columnNotation[XHolder] + columnNotation[YHolder] + columnNotation[x] + columnNotation[y] --> "a1a2"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement