Skip to content

This repository provides a C++ implementation of chess pieces, with each piece as a separate class for easy integration into larger chess projects. It includes basic functionalities like movement rules and capturing logic, designed for extensibility and customization. This serves as a foundational component for complex chess applications.

Notifications You must be signed in to change notification settings

zanmdi/Chess-Pieces

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Chess-Pieces

This repository provides a C++ implementation of chess pieces, with each piece as a separate class for easy integration into larger chess projects. It includes basic functionalities like movement rules and capturing logic, designed for extensibility and customization. This serves as a foundational component for complex chess applications.

Test the code

To test the code add the following two samples in the test.cpp file.

1. d2-d4 f7-f5
2. Bf1-h3 Rh8xh2

The expected results should be:

1.valid valid
2.invalid invalid

About

This repository provides a C++ implementation of chess pieces, with each piece as a separate class for easy integration into larger chess projects. It includes basic functionalities like movement rules and capturing logic, designed for extensibility and customization. This serves as a foundational component for complex chess applications.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages