We are about to switch to a new forum software. Until then we have removed the registration on this forum.
I am making a chess engine, and I am currently working on the minimax function( the depthvalue int) but it is not working, and I don't know why. It still sacrifices pieces for no reason. Help is appreciated. This is a challenge, so please don't give me the code, just tell me what went wrong. thank you!
link for all the code and data files are at: https://drive.google.com/open?id=16rXtPHM-3PmtOitzRWh121kf82GBM_Ok