A lightweight, terminal-based chess environment written in C. Currently implementing board state management, ANSI rendering, and coordinate-based movement.
Chess Console Engine is a C project designed to explore low-level game logic implementation. It focuses on memory management using pointers and multidimensional arrays to represent game states efficiently in a CLI environment.
Current State: The engine operates in Sandbox Mode. This means players can move pieces freely to any square to analyze positions or test board mechanics. Strict rule enforcement (move validation) is next on the roadmap.
- Terminal Rendering: Custom board visualization using ANSI escape codes for coloring.
- Coordinate System: Standard algebraic notation input (e.g.,
e2 e4). - Memory Management: Efficient use of pointer arithmetic for board navigation.
- Hotseat Multiplayer: Supports two players inputting moves sequentially.
You need a C compiler (like gcc) installed on your system.
Clone the repository and compile the source code:
git clone [https://github.com/Kcisti/chess-console-engine.git](https://github.com/Kcisti/chess-console-engine.git)
cd chess-console-engine
gcc main.c -o chess-engine