Anyways, after about three months of reading and pulling my hair out, I finally have a working move generator that produces strictly legal moves! I've tested it on all of the chessprogramming.org positions, and I am so excited to be able to share it with ya'll! I am really hoping to obtain some feedback on how I can improve it. I know that it is a little ugly and still pretty far from optimal in places. (For example, my king moves are currently verified as they are generated.)
Here is the github link:
https://github.com/RedBedHed/Charon
And here are my bulk-counted perft numbers (from the initial position, i5 processor, 1.6 ghz):
perft(1) - 0.000 seconds - 20 nodes visited.
perft(2) - 0.000 seconds - 400 nodes visited.
perft(3) - 0.000 seconds - 8902 nodes visited.
perft(4) - 0.000 seconds - 197281 nodes visited.
perft(5) - 0.031 seconds - 4865609 nodes visited.
perft(6) - 0.656 seconds - 119060324 nodes visited.
I hope everyone is having a great summer!
