listeapres=[(lettre[0],lettre[1] or lettre[0]==giv_let) for lettre in liste]
if liste!=listeapres:
self.play_status[canal]=listeapres
- self.affiche_mot(serv, canal, begin="%s trouvé"%(giv_let))
+ self.affiche_mot(serv, canal, begin="%s placé"%(giv_let))
if all([lettre[1] for lettre in listeapres]):
serv.privmsg(canal,"Bravo ! C'était %s"%("".join([lettre[0] for lettre in listeapres])))
self.play_status[canal]=[None]