a weak C++ chess engine