Money Changer - A CSBuild DSA Example
Good Luck!!!!



The Money Changer is designed to provide a method of supplying an infinite number of objects and 'selling' them to the player in exchange for some other objects.  Using it, you can create a 'Store', a 'Money Changer', or other device that you may dream up.  You might exchange five silver coins for two gold coins.

It works kinda like this:
The DSA is constructed from seven states: