Skip to content

[pull] main from larymak:main #17

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 53 commits into from
Nov 16, 2023
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
Show all changes
53 commits
Select commit Hold shift + click to select a range
b62cd87
Jarvis
prathu10 Oct 13, 2023
c46c6f8
Merge branch 'larymak:main' into main
prathu10 Oct 18, 2023
16710fa
Add files via upload
prathu10 Oct 18, 2023
ee95e50
Update and rename ReadME.md to README.md
prathu10 Oct 18, 2023
4b7636f
Merge pull request #346 from prathu10/main
larymak Oct 19, 2023
4673e50
initial_push
MBSA-INFINITY Oct 19, 2023
a03ec2e
readme added
MBSA-INFINITY Oct 19, 2023
0a52c12
Readme Docs Updated
MBSA-INFINITY Oct 19, 2023
573bb1e
Merge pull request #349 from MBSA-INFINITY/instragram-scraper
larymak Oct 20, 2023
63f1b16
initial_push
MBSA-INFINITY Oct 20, 2023
a360097
Project Renamed
MBSA-INFINITY Oct 20, 2023
8e1069a
readme added
MBSA-INFINITY Oct 20, 2023
5938380
Billswift Readme Docs Updated
MBSA-INFINITY Oct 20, 2023
5966dc8
Project Link added
MBSA-INFINITY Oct 20, 2023
3bb04ef
Introduced genetic algorithms along with a solution to the Knapsack p…
usmansafdarktk Oct 21, 2023
6efcb74
Morden Calculator
Oct 22, 2023
70e263c
Add a a picture with the calculator.
Oct 22, 2023
c0ce860
Merge branch 'larymak:main' into main
Oct 22, 2023
492fc73
Add a picture with the calculator.
Oct 22, 2023
327839c
Add a picture with the calculator.
Oct 22, 2023
d6097a5
Modern looking calculator
Oct 22, 2023
f5f3e51
Merge remote-tracking branch 'origin/main' into IOS_Calculator
Oct 22, 2023
5357724
Merge pull request #350 from MBSA-INFINITY/invoice-billing-system
larymak Oct 23, 2023
a9f85d5
Merge pull request #352 from Marinel-Neagu/main
larymak Oct 23, 2023
fa2a458
initial push
MBSA-INFINITY Oct 24, 2023
cd0703d
readme added
MBSA-INFINITY Oct 24, 2023
a488c6c
initial data added
MBSA-INFINITY Oct 24, 2023
7123f21
Readme Updated
MBSA-INFINITY Oct 24, 2023
f1e1334
Changed directories
usmansafdarktk Oct 24, 2023
268e4a9
JSON Validator GUI application added
mhdfuhad Oct 24, 2023
3c37911
readme formatting updated
mhdfuhad Oct 24, 2023
c163e87
Merge pull request #351 from usmansafdarktk/main
larymak Oct 25, 2023
e7a12f4
Merge pull request #353 from MBSA-INFINITY/emotion-detector
larymak Oct 25, 2023
4edf14b
Powerful Module for detecting color pages in PDF.
Om25091210 Oct 25, 2023
e52151b
Merge pull request #355 from mhdfuhad-open-source/main
larymak Oct 26, 2023
bcb02a9
Added an interactive python script game called Hunters_Island
SolomonOdunusi Oct 26, 2023
e689c02
Merge pull request #356 from Om25091210/PDF-Page-Color-Counter
larymak Oct 27, 2023
8592afb
Added an image of game to the readme
SolomonOdunusi Oct 27, 2023
fb3056d
Create README.md
Ezek-iel Oct 27, 2023
328a7ae
Add files via upload
Ezek-iel Oct 27, 2023
3d6fe18
Update README.md
Ezek-iel Oct 27, 2023
b913f77
Update README.md
Ezek-iel Oct 27, 2023
f94abf8
[feat]: Develop Two-Player Chess Game in Python
purnasth Oct 28, 2023
9884172
Merge pull request #357 from SolomonOdunusi/Hunter-branch
larymak Oct 29, 2023
6664032
Excel to Firebase Realtime Database Integration.
Om25091210 Oct 29, 2023
8ff85d7
Update README.md
Om25091210 Oct 29, 2023
f3da7e1
Merge pull request #360 from purnasth/chess
larymak Oct 30, 2023
81378ed
Merge pull request #361 from Om25091210/excel-to-firebase
larymak Nov 1, 2023
1521b66
Merge branch 'larymak:main' into eze-kiel
Ezek-iel Nov 1, 2023
ed59ca3
Updated files via upload
Ezek-iel Nov 1, 2023
4275206
Merge pull request #358 from Ezek-iel/eze-kiel
larymak Nov 3, 2023
455b462
Added Scripts by AHNAF14924
ahnaf-tahmid-zaman Nov 15, 2023
c3e0965
Merge pull request #364 from AHNAF14924/main
larymak Nov 16, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added PYTHON APPS/Chess/Images/Highlight.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added PYTHON APPS/Chess/Images/PromotionMenu.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added PYTHON APPS/Chess/Images/bB.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added PYTHON APPS/Chess/Images/bK.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added PYTHON APPS/Chess/Images/bN.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added PYTHON APPS/Chess/Images/bQ.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added PYTHON APPS/Chess/Images/bR.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added PYTHON APPS/Chess/Images/bp.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added PYTHON APPS/Chess/Images/chess.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added PYTHON APPS/Chess/Images/chess1.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added PYTHON APPS/Chess/Images/dtb.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added PYTHON APPS/Chess/Images/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added PYTHON APPS/Chess/Images/logo1.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added PYTHON APPS/Chess/Images/ltb.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added PYTHON APPS/Chess/Images/royal.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added PYTHON APPS/Chess/Images/wB.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added PYTHON APPS/Chess/Images/wK.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added PYTHON APPS/Chess/Images/wN.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added PYTHON APPS/Chess/Images/wQ.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added PYTHON APPS/Chess/Images/wR.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added PYTHON APPS/Chess/Images/wp.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
45 changes: 45 additions & 0 deletions PYTHON APPS/Chess/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
# Two Player Chess

This is a simple two-player chess game built in Python. It uses the standard rules of chess and allows two players to play against each other on the same computer.

## Installation

To install and run the game, follow these steps:

1. Clone the repository to your local machine.
2. Navigate to the project directory in your terminal.
3. Install pygame , a Python library for creating games, by running the following command:

```
pip install pygame
```

4. Start the game by running the following command:

```
python main.py
```

## How to Play

The game is played using the standard rules of chess. Each player takes turns moving their pieces on the board until one player is in checkmate or a draw is declared.

To move a piece, select it with your mouse and drag it to the desired square. If the move is legal, the piece will be placed on the new square. If the move is not legal, the piece will return to its original position.

## Features

- `En Passant`: Special pawn capture move inclusion
- `Castling`: Ability to perform the castling maneuver
- `Checkmate and Stalemate Detection`: Logic for detecting game-ending states
- `User Interface`: Graphical representation of the board with mouse controls
- `Standard Chess Rules`: Adherence to traditional chess rules
- `Two-Player Mode`: Enable two human players to compete on the same device

## Code Overview

The game is built using two Python files:

- `engine.py`: This file contains the logic for the chess game, including the rules for moving pieces and checking for checkmate and stalemate.
- `main.py`: This file contains the user interface for the game, including the graphical representation of the board and the mouse controls for moving pieces.

Build with :heart: by [Purna Shrestha](https://github.com/purnasth)
Loading