Code Monkey home page Code Monkey logo

chessqd's Introduction

ChessQD

Introduction

ChessQD, developed by Frank Hans and Wertzuz, is an implementation of the ancient strategic board game Chess. The game is played on an 8x8 chessboard, where each player commands an army of 16 pieces, including a king, queen, rooks, knights, bishops, and pawns. The objective is to checkmate the opponent's king, trapping it in a position from which it cannot escape. This was done as a school project.

Features

  • Graphical User Interface
  • In-game accessible buttons:
    • Rotate Board
    • Play Online
      • Play against another person on the local network
    • Resign End the current game
  • Display of the game result
  • Timer display
  • Variable resolution and window size
  • Implementation of the Chess board game following official rules

Prerequisites Running

Before running or building ChessQD, make sure you have the following libraries installed on your system:

For Running ChessQD:

  • libsdl2-2.0-0
  • libsdl2-image-2.0-0
  • libsdl2-ttf-2.0-0

Installing Required Libraries

To install the libraries(on Ubuntu) needed for running ChessQD, open a terminal and run the following command:

sudo apt-get install libsdl2-2.0-0 libsdl2-image-2.0-0 libsdl2-ttf-2.0-0

Installation (Release Version)

To install the release version of ChessQD, follow these steps:

  1. Visit the Releases section of our GitHub repository.

  2. Download the latest release exe file or ELF file from the available assets(Note that since the exe is statically linked there's no need for the libraries mentioned above).

  3. Run the file from the bin directory or make sure that it has access to the subfolder res/

Prerequisites Building

For Building ChessQD:

  • libboost-all-dev
  • libsdl2-image-dev
  • libsdl2-ttf-dev
  • libsdl2-dev
  • libasio-dev
  • libglm-dev

For building ChessQD, use the following command to install the necessary development libraries:

sudo apt-get install libboost-all-dev libsdl2-image-dev libsdl2-ttf-dev libsdl2-dev libasio-dev

Building ChessQD

After installing the required libraries, you can build ChessQD by executing the following commands in the terminal:

# Navigate to the directory containing ChessQD
cd /path/to/chessqd

# build
make build

Future Enhancements

In future versions, we plan to:

  • Enhance the online mode
  • Add PGN-Notation
  • Add a time limit feature
  • Implement new features based on user feedback.

Contributing

Any type of contribution via GitHub Pull Requests is welcome: new features, bug fixes, etc.

License

ChessQD is licensed under the GNU General Public License, version 2.0 (GPL-2.0).

Support

If you encounter any issues or have questions, please feel free to open an issue on our GitHub repository.

Acknowledgments

We would like to express our gratitude to our teacher who has made this possible.

chessqd's People

Contributors

frank-py avatar wertzuz avatar imvulcrum avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

wertzuz

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.