Someone delete above post, here is the correct one :
Z - Posted auction without fixed price, starting from J gold.
X - Current maximum bid
W - Current second-max bid
Say there is an auction Z on market. At the time it's posted, X = 0 and W = 0
When someone bids on Z, he must bid a price higher than W. W is the known value, X is hidden and known only by the highest bidder. If the new bid price is higher than X, then W gets the value of previous X and X gets the new value.
When the auction expires, the guy who bid the X value, buys Z artifact for W gold. |