change exmpty_slots to hash table to store the probabilities of win