Giter Site home page Giter Site logo

shouryapant / chessgame Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 26.69 MB

We made a GUI BASED Chess game using Python and Pygame. So when the user clicks the Executable file , a new GUI WINDOW will open asking the user with two options .Play the game or QUIT . When user clicks the PLAY GAME BUTTON Then the game will start and white has to start the game. The game follows and continues as per the CHESS RULES. At the end winner is declared by either CHECKMATE OR STALEMATE and a message will be Prompted on the screen to whoever wins the game-- "BLACK OR WHITE".

Home Page: https://github.com/ShouryaPant/ChessGame

License: GNU General Public License v3.0

Python 100.00%

chessgame's Introduction

Chess Game MADE BY ME AND TEJAS DWIVEDI

We made a GUI BASED Chess game using Python and Pygame. We used certain algorithms to make it completely functional. So when the user clicks the Executable file , a new GUI WINDOW will open asking the user with two options . Play the game or QUIT . When user clicks the PLAY GAME BUTTON Then the game will start and white has to start the game. The game follows and continues as per the CHESS RULES. At the end winner is declared by either CHECKMATE OR STALEMATE and a message will be Prompted on the screen to whoever wins the game-- "BLACK OR WHITE".

SOME SPECIAL FEATURES WE PROVIDED IN THE GAME

CHECKMATE

When the player is left with no move in the board to protect his king and the king is surrounded by all the opponent pieces . The player loses it by CHECKMATE

STALEMATE

When the player is left with no pieces and only his KING IS LEFT so after 30 moves the player loses by STALEMATE.

CASTLING

When the positions between the king or rook are empty , user gets an option to do the castling that is to give his king extra protection by doing this move in which the positions of the ROOK AND KING ARE SWAPPED.

EN PASSANT

When the pawn moves the very first chance with two squares and it gets surrounded by opponent pawns then it gives the pawn a special move to move DIAGONALLY AND CAPTURE THE OPPONENT PAWNS.

PAWN PROMOTIONS

When the pawn of the user reaches the end of the 8x8 grid he can promot his pawn to queen and can get an extra QUEEN.

ANIMATION

We provided amazing animations and Highlighting square option which gives an ultimate UI and animations to the player which makes our game so much special. Also when the user clicks a piece on his chance then he will get highlighted squares which will tell him all the possible moves in which he can move his piece.

chessgame's People

Contributors

shouryapant avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.