Page 1 of 1

Python Chess Engine not working properly

Posted: Wed Nov 01, 2017 12:34 pm
by Legoboy0215
Hello! I am trying to code a simple chess engine in Python, but it doesn't seem to be working properly. The issue is that when the game goes d2d4, d7d5, running the "go" function returns e2e4, which is giving up a pawn. Mainly, can anyone help me proofread the minimax alpha-beta algorithm? My implementation of the algorithm seems to be wrong. I'm sorry if code help isn't allowed here!