Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 0 additions & 2 deletions driver_docs/LICENSE.driver.md

This file was deleted.

2 changes: 0 additions & 2 deletions driver_docs/Makefile.driver.md

This file was deleted.

2 changes: 0 additions & 2 deletions driver_docs/README.md.driver.md

This file was deleted.

12 changes: 12 additions & 0 deletions driver_docs/c_cpp_export_test/LICENSE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<!--------------------------------------------------------------------------------->
<!-- IMPORTANT: This file is auto-generated by Driver (https://driver.ai). -------->
<!-- Manual edits may be overwritten on future commits. --------------------------->
<!--------------------------------------------------------------------------------->

The `LICENSE` file in the `c_cpp_export_test` codebase contains the MIT License, granting permission to use, copy, modify, and distribute the software with certain conditions.

# Purpose
The provided content is a software license known as the MIT License, which is a permissive free software license. It grants users broad rights to use, copy, modify, merge, publish, distribute, sublicense, and sell copies of the software, as long as the original copyright notice and permission notice are included in all copies or substantial portions of the software. This license is designed to maximize freedom for users while limiting liability for the authors, as it explicitly states that the software is provided "as is," without any warranties, and disclaims any liability for damages arising from its use. The inclusion of this license in a software project facilitates open-source collaboration and distribution by clearly defining the terms under which the software can be used and shared.

---
Made with ❤️ by [Driver](https://www.driver.ai/)
12 changes: 12 additions & 0 deletions driver_docs/c_cpp_export_test/Makefile.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<!--------------------------------------------------------------------------------->
<!-- IMPORTANT: This file is auto-generated by Driver (https://driver.ai). -------->
<!-- Manual edits may be overwritten on future commits. --------------------------->
<!--------------------------------------------------------------------------------->

The `Makefile` in the `c_cpp_export_test` codebase is used to compile and build a Chess implementation in C, handling both library and test executable creation with platform-independent configurations.

# Purpose
This Makefile is designed for building a Chess implementation written in C, facilitating the compilation and linking process using the GNU Compiler Collection (GCC). It defines several variables, such as `CC` for the compiler and `CFLAGS` for compiler flags, which include warnings and optional debugging information based on the `DEBUG` flag. The file uses pattern rules to compile source files located in the `src` and `src/chesslib` directories into object files, and it creates a static library `libchesslib.a` from these object files, excluding the test main object. It also specifies platform-independent rules for generating the test executable, `tests`, and includes targets for cleaning up build artifacts and running tests. The Makefile ensures that the necessary directories are created and that the build process is streamlined for both development and testing purposes.

---
Made with ❤️ by [Driver](https://www.driver.ai/)
16 changes: 16 additions & 0 deletions driver_docs/c_cpp_export_test/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<!--------------------------------------------------------------------------------->
<!-- IMPORTANT: This file is auto-generated by Driver (https://driver.ai). -------->
<!-- Manual edits may be overwritten on future commits. --------------------------->
<!--------------------------------------------------------------------------------->

C and C++ chess game implementation with header files, build instructions, and licensing.

## Folders
- **[include](include/README.md)**: Header files for managing chess game components such as the board, pieces, moves, and game state.

## Files
- **[LICENSE](LICENSE.md)**: The `LICENSE` file in the `c_cpp_export_test` codebase contains the MIT License, granting permission to use, copy, modify, and distribute the software with certain conditions.
- **[Makefile](Makefile.md)**: The `Makefile` in the `c_cpp_export_test` codebase is used to compile and build a Chess implementation in C, handling both library and test executable creation with platform-independent configurations.

---
Made with ❤️ by [Driver](https://www.driver.ai/)
13 changes: 13 additions & 0 deletions driver_docs/c_cpp_export_test/include/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<!--------------------------------------------------------------------------------->
<!-- IMPORTANT: This file is auto-generated by Driver (https://driver.ai). -------->
<!-- Manual edits may be overwritten on future commits. --------------------------->
<!--------------------------------------------------------------------------------->

Header files for managing chess game components such as the board, pieces, moves, and game state.

## Folders
- **[chesslib](chesslib/README.md)**: Header files that define structures and functions for managing chess game aspects like board, pieces, moves, and game state.


---
Made with ❤️ by [Driver](https://www.driver.ai/)
21 changes: 21 additions & 0 deletions driver_docs/c_cpp_export_test/include/chesslib/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<!--------------------------------------------------------------------------------->
<!-- IMPORTANT: This file is auto-generated by Driver (https://driver.ai). -------->
<!-- Manual edits may be overwritten on future commits. --------------------------->
<!--------------------------------------------------------------------------------->

Header files that define structures and functions for managing chess game aspects like board, pieces, moves, and game state.


## Files
- **[board.h](board.h.md)**: The `board.h` file defines the structure and functions for managing a chess board, including initialization, move generation, and state comparison, within the `c_cpp_export_test` codebase.
- **[boardlist.h](boardlist.h.md)**: The `boardlist.h` file defines a linked list structure and operations for managing a list of chess boards, including creation, addition, retrieval, undo, and memory deallocation.
- **[chess.h](chess.h.md)**: The `chess.h` file defines the structures and functions necessary for managing a chess game, including game initialization, move handling, and draw claims, within the `c_cpp_export_test` codebase.
- **[move.h](move.h.md)**: The `move.h` file defines structures and functions for representing and manipulating chess moves, including conversion to and from UCI notation.
- **[movelist.h](movelist.h.md)**: The `movelist.h` file defines data structures and functions for managing a list of chess moves, including creation, addition, retrieval, and conversion to UCI string format.
- **[piece.h](piece.h.md)**: The `piece.h` file defines enumerations and functions for representing and manipulating chess pieces, including their types, colors, and corresponding letters.
- **[piecemoves.h](piecemoves.h.md)**: The `piecemoves.h` file defines functions for generating potential move lists for different chess pieces, including leapers, riders, and specific pieces like pawns, knights, bishops, rooks, queens, and kings, while avoiding circular dependencies.
- **[square.h](square.h.md)**: The `square.h` file defines a `sq` struct for representing chessboard squares, along with functions for creating, indexing, and comparing these squares, as well as determining their color.
- **[squareset.h](squareset.h.md)**: The `squareset.h` file defines a 64-bit square set for representing the state of each square on a chessboard and includes functions to set and get the state of individual squares.

---
Made with ❤️ by [Driver](https://www.driver.ai/)
Loading