Skip to content

Aatrick/CChess

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CChess

CChess is a simple chess engine written in pure C. It features a basic implementation of the minimax algorithm with alpha-beta pruning to evaluate and generate the best moves for the bot. The engine supports standard chess rules and can play against a human player.

Screenshot from 2024-11-18 21-07-02

Features

  • Basic chess engine written in C
  • Minimax algorithm with alpha-beta pruning for move generation
  • Evaluation function to assess board positions
  • Supports standard chess rules including castling and pawn promotion
  • Command-line interface for playing against the bot

Getting Started

Prerequisites

  • GCC (GNU Compiler Collection)

Building the Project

To build the project, navigate to the project directory and run the following command:

gcc -O3 -I/include/util.h ./src/main.c ./src/board.c -o ./build/release && ./build/release

Releases

No releases published

Packages

No packages published

Languages