A text-based chess endgame simulator developed in Python