A terribly made C++ program that uses SFML library. At first when I started programming, I've always wanted a "How to make Chess" tutorial. Unfortunately, Youtube got me nowhere. The closest I had was from Sebastian Lague. But what he made was a Chess AI, though, of course he walked everyone through how he made the chess game. But I'm not content
- Massively stolen code from Sebastian Lague
- Sounds and sprites taken from lichess
It's actually called plagiarize
- Normal chess stuff
- Epic gamer code that can make your eyes explode (I hope not :)), feel free to suggest your epic improvements in issues, I'm open to hear them!)
- Idk
SDL = headache = big nono
- g++
- SFML library
- cmake
- make
Simply run the following command (assuming you're on linux cuz fuck Microsoft)
cd build
cmake .. && makeThe texture will fail to load if you run it in the build directory, sorry :<. A way around that is to run it in the project directory instead
./build/cpp-chess- Added core mechanics
- Code cleanup
- Fen support!
- Fix being able to thanos snap pieces by right clicking them
- Fix this dumb README.md
- Fixed this dumb README.md again
- Legal moves ! (But only for Rooks, Bishops, Queen, King)
- Code is messed up again xd
- Uh
- I can't seem to write a proper README.md file
- Complete development reset! It's been a while and I did not use that amount of time to waste ;)
- Fixed this README.md again (BRUH)
- Added drag and drop (very cool)
- School is coming back so I'm ded
- Yes
- School has came back and I'm ded inside
- Fixed this dumb README.md again (omg)
- Added legal moves for Rooks, Bishops and Queens ;)
- First day of school was alright
- I didn't have to fix README.md again woo
- Added legal moves for Knights ;)
- Added highlights for squares that the pieces move to
- Some other code improvements
- I lied, I had to fix README.md the SECOND I PUSH IT TO GIITAISADIOHDSPINDA
- Some fixes regarding includes since coc-nvim was being stupid and I didn't realize it
- Some comments cleanup
- Added legal moves for Kings!
- Added epic finite state machine for rendering and updating in preparation for legal moves for pawns
- Fuc
- School sucks
I even got the hottest new moves from the 15th century like double pawn pushes... and en passant
- Code cleanup and stuff teeheehehee (as per usual)
- Why am I always fking tired
- I realized I totally butchered the square colors lmfao
- I also realized pawns can captures pieces of their same color, and I need to fix it to prevent pieces from having cannibalism (That'd be seriously bad)
- I also found out that en passant is completely broken due to the way I reset the en passant file data (Why is the pawn the most broken-ass piece in this entire game)
- Added castle moves! ;)
- Some clean up as usual (not much though xd)
- Yes
- I did not fix the cannibalism, wtf
- Also messed up the promotion as well
- Some code cleanup (yet again, this time i added some comments (i think its a bit too much) idek)
- Changes to code that allow it to be reused later when filtering the psuedo legal moves later
- Pain and agony
- Stop being an idiot
- Fix this README.md because I know the second I commit and push it to Github I will find a typo
- h

