https://github.com/mattlean/chess-move-check
List all legal Chess moves for given player & board
https://github.com/mattlean/chess-move-check
python script
Last synced: 4 months ago
JSON representation
List all legal Chess moves for given player & board
- Host: GitHub
- URL: https://github.com/mattlean/chess-move-check
- Owner: mattlean
- Created: 2019-01-22T05:21:41.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2020-02-01T00:48:33.000Z (almost 6 years ago)
- Last Synced: 2025-07-05T17:34:08.958Z (7 months ago)
- Topics: python, script
- Language: Python
- Homepage:
- Size: 25.4 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# chess-move-check.py #
Written by: Matthew Lean
### How to Run ###
First you must have Python installed. Then to run the program you input the following command:
`python chess-move-check.py `
`` represents the file location of the text file that tells the script the current state of the board.
The first line of file must be the current player's color.
Each line afterwards represents a chess piece. They are formatted in this way:
`,,`
You can view some examples in the 'testfiles' folder included with the script.