"When looking at round one one can see that after the customer offered 10 dollars, the 10 dollars are not available to him util the deal has either been accepted or rejected. After the drug dealer accepts the offer in the 0 round. The money is transfered to the drug dealer and the drugs to the customer.
In round 1, where the drug dealer runs out of drugs the 10 dollars go back to the customer."
but when I run the notebook, nothing seems to change: I simply get:
Customer offers 10 dollar:
customer{'money': 90.0}
drug_dealer{'drugs': 1.0}
Drug Dealer accepts or rejects the offer:
customer{'money': 100.0}
drug_dealer{'drugs': 1.0}
Customer offers 10 dollar:
customer{'money': 90.0}
drug_dealer{'drugs': 1.0}
Drug Dealer accepts or rejects the offer:
customer{'money': 100.0}
drug_dealer{'drugs': 1.0}
You Say:
"When looking at round one one can see that after the customer offered 10 dollars, the 10 dollars are not available to him util the deal has either been accepted or rejected. After the drug dealer accepts the offer in the 0 round. The money is transfered to the drug dealer and the drugs to the customer.
In round 1, where the drug dealer runs out of drugs the 10 dollars go back to the customer."
but when I run the notebook, nothing seems to change: I simply get:
Customer offers 10 dollar: customer{'money': 90.0} drug_dealer{'drugs': 1.0} Drug Dealer accepts or rejects the offer: customer{'money': 100.0} drug_dealer{'drugs': 1.0}
Customer offers 10 dollar: customer{'money': 90.0} drug_dealer{'drugs': 1.0} Drug Dealer accepts or rejects the offer: customer{'money': 100.0} drug_dealer{'drugs': 1.0}