for a in liste: for b in liste: if mouvement(a,b): jeu[a].append(b)