brilliantly implemented completeGame