Skip to content

Kcisti/chess-console-engine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

♟️ Chess Console Engine

A lightweight, terminal-based chess environment written in C. Currently implementing board state management, ANSI rendering, and coordinate-based movement.

Language Platform Status

📖 About

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.

✨ Features

  • 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.

🚀 Getting Started

Prerequisites

You need a C compiler (like gcc) installed on your system.

Compilation

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

About

A low-level C Chess Engine exploring pointer arithmetic, memory management, and ANSI terminal rendering. Currently in Sandbox Mode.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages