Skip to content

irvall/skakmat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

87 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

skakmat ♟️

A tiny chess engine written in C# with a Raylib-powered graphical interface.

Overview

skakmat (Danish for "checkmate") is a lightweight chess engine designed for learning and experimentation. It features a clean C# implementation with an intuitive visual interface built using Raylib.

Features

Screenshot 2025-09-11 at 23 54 24
  • Chess Engine: Complete chess rule implementation with move validation

    • Board representation using bitboards
    • Move generation
    • Search
    • Position evaluation
  • Graphical Interface: Interactive board using Raylib for smooth rendering

  • Lightweight: Minimal dependencies, easy to build and run

  • Educational: Clean, readable code structure perfect for learning chess programming

  • Epic Sounds: Chess sounds are normally so vague and flat; skakmat revolutionizes how sound and game can interplay

Getting Started

Prerequisites

  • .NET 6.0 or later
  • Raylib-cs NuGet package

Building

git clone https://github.com/irvall/skakmat.git
cd skakmat
dotnet build

Running

dotnet run

How to Play

  • Click-and-drop to move pieces
  • 'F' flips boards
  • The engine validates all moves according to chess rules
  • Enjoy a game against yourself or use it as a foundation for AI development

Project Structure

The codebase is organized for clarity and modularity, making it easy to understand and extend the engine's capabilities.

Contributing

Feel free to open issues or submit pull requests. This is a learning project, and contributions are welcome!

License

This project is open source. See the repository for license details.


About

A tiny C# chess engine using Raylib as frontend

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published