Python Chess Engine not working properly

Code, algorithms, languages, construction...
Post Reply
Legoboy0215
Posts: 1
Joined: Wed Nov 01, 2017 12:26 pm

Python Chess Engine not working properly

Post by Legoboy0215 » Wed Nov 01, 2017 12:34 pm

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!

Post Reply