This project has been deleted.

Chess engine

Chess engine

12 devlogs
21h 16m
•  Ship certified
Created by Nonolar

My first try at writing a working chess engine, also my first time writing in C.

Timeline

Ship 1

1 payout of shell 337.0 shells

Nonolar

over 1 year ago

Nonolar • Covers 12 devlogs and 21h 16m

I just added being able to revert moves. I am also considering shipping this first iteration, even though it is pretty rough around the corners.

Update attachment

Just fixed some basic bugs with move generation code! Should work but haven't gotten back in the programming mood yet so not completely sure. Hopefully should get somethings done tomorrow.

Update attachment

YES! The engine is live and it can play! It also played it's first game against another human, and it won! Now it is time for my eternal fine tuning of the evaluation function. Also fixing some bugs.

Update attachment

I've now succesfully added functions so that you can list all available moves for the your available pieces. Now the only thing left is to create the minimax algorithm and then refine the Evaluation function! YEAH!

Update attachment

I added the first essential step for my chess engine; being able to get possible moves for the bishop. Next up is the king (which should be easy). But first I have to take a small break as not to be as antisocial as I am currently.

Update attachment

It is finally time for Minimax time!! I hope to get finished before tomorrow but to be honest the chances for that are slim at best. Let's just hope for the best

Update attachment

I've succesfully added the knight! It is now time for some tweaks and completing the kings moveset (also adding pawn promotion)

Update attachment

I took a prolonged break but I am back at programming again. I have added both support for the Queen and King. This was quite simple as I built of the groundwork fo the other troops. The reason why it took some time was because the migration from a Linux system to a Windows system. Despite every hurdle I just need to implement the knight and then I will begin with Eval. Looking forward to it!

Update attachment

I didn't feel for a full day of coding today, so only did a minor bug fix from yesterday where I had forgotten to implement proper logic for the bishops movement. Happy to announce that none of the implemented pieces are able to phase through each other anymore! Tomorrow I will try to find time for programming but that is easier said than done as I will need to change my computer to a windows machine. Hopefully everything still works (which it should), but you never know. Worst case I will need to either refactor everything or start on something else, but that is for tomorrow. Good night and happy coding!

Update attachment

I've finally added movement for the bishop. Now the only ones left are the Queen, King and then finally the knight. I am going to take a break and with renewed energy try to tackle as much as I can tomorrow or later today. For now I am satisfied with my progress. In the picture below I have played around with the pieces to showcase which can be moved

Update attachment

Since last time I have split piece movement into their individual files for easier readability. The next step is too implement movement for the bishop and after that I plan to implement the queen.

Update attachment

I have created a basic chess board in which the boards state is stored. I have also started developing basic movement for the pieces and as of now I have implemented movement for the Rook and Pawns.

Update attachment