implemented the ability to replay saved games