I am trying to design a chess engine and it seems using the minimax alpha beta pruning algorithm is the optimal choice. I understand the abstract concept but am having some trouble writing a simple implementation. I was wondering if there are any open sourced implementations I can view to point me in the right dierction.