My own chess implementation.