def guardar(self):
        db = WindowPlayGame.DBPlayGame(self.configuration.file_play_game())
        reg = db.leeRegistro(self.recno)

        dicIntento = {
            "DATE": Util.today(),
            "COLOR": "w" if self.human_side else "b",
            "POINTS": self.puntos,
            "POINTSMAX": self.puntosMax,
            "TIME": self.vtime,
        }

        if not ("LIINTENTOS" in reg):
            reg["LIINTENTOS"] = []
        reg["LIINTENTOS"].insert(0, dicIntento)

        if self.siSave:
            reg["GAME"] = self.gameObj.save()
            self.siSave = False

        db.cambiaRegistro(self.recno, reg)

        db.close()