From 1df429152645a7960748e06273a13e6201bf66e1 Mon Sep 17 00:00:00 2001 From: Tushar Singh <75197616+theinit01@users.noreply.github.com> Date: Sun, 28 Apr 2024 14:54:44 +0530 Subject: [PATCH 1/3] Create pylint.yml --- .github/workflows/pylint.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/pylint.yml diff --git a/.github/workflows/pylint.yml b/.github/workflows/pylint.yml new file mode 100644 index 0000000..c73e032 --- /dev/null +++ b/.github/workflows/pylint.yml @@ -0,0 +1,23 @@ +name: Pylint + +on: [push] + +jobs: + build: + runs-on: ubuntu-latest + strategy: + matrix: + python-version: ["3.8", "3.9", "3.10"] + steps: + - uses: actions/checkout@v4 + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v3 + with: + python-version: ${{ matrix.python-version }} + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install pylint + - name: Analysing the code with pylint + run: | + pylint $(git ls-files '*.py') From d777e50db0f43efa5b658fdba983921deb9feec6 Mon Sep 17 00:00:00 2001 From: Tushar Singh <75197616+theinit01@users.noreply.github.com> Date: Sun, 28 Apr 2024 14:56:35 +0530 Subject: [PATCH 2/3] Delete .github/workflows directory --- .github/workflows/pylint.yml | 23 ----------------------- 1 file changed, 23 deletions(-) delete mode 100644 .github/workflows/pylint.yml diff --git a/.github/workflows/pylint.yml b/.github/workflows/pylint.yml deleted file mode 100644 index c73e032..0000000 --- a/.github/workflows/pylint.yml +++ /dev/null @@ -1,23 +0,0 @@ -name: Pylint - -on: [push] - -jobs: - build: - runs-on: ubuntu-latest - strategy: - matrix: - python-version: ["3.8", "3.9", "3.10"] - steps: - - uses: actions/checkout@v4 - - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v3 - with: - python-version: ${{ matrix.python-version }} - - name: Install dependencies - run: | - python -m pip install --upgrade pip - pip install pylint - - name: Analysing the code with pylint - run: | - pylint $(git ls-files '*.py') From 6514e866df9816c061ce17cb2240642ccb8f29ee Mon Sep 17 00:00:00 2001 From: Tushar Singh <75197616+theinit01@users.noreply.github.com> Date: Sun, 28 Apr 2024 14:58:06 +0530 Subject: [PATCH 3/3] Update README.md --- README.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 42fd61b..607bd13 100644 --- a/README.md +++ b/README.md @@ -11,12 +11,15 @@ This is a Python-based chess engine that allows users to play chess against the - Implement various chess strategies, including opening book, midgame tactics, and endgame knowledge. - Visualize the chess board and current game state using ASCII representation. - Implement different search algorithms for move generation, such as minimax with alpha-beta pruning. -- ## Installation + + ## Installation 1. Clone the repository to your local machine: `git clone https://github.com/theinit01/AI-ChessEngine.git` 2. Navigate to the project directory: `cd AI-ChessEngine` -3. Run the main script to start the game: +3. Install the required dependencies + `pip install -r requirements.txt` +4. Run the main script to start the game: ## Screenshots