added lastGameDrawn and lastGameLost, refactored find to a reusable function