def on_right_click(self):
        if self.opened:
            return
        self.state = (self.state + 1) % 3
        self.set_icon()
        self.game.check_if_win()
Here with right click the change of cell is changed
dataset/ETHPy150Open dddomodossola/remi/examples/minefield_app.py/Cell.on_right_click