Is my chess engine broken?

Sort: