How would one go in the process of creating an address in which when somebody sent some coins to it, it would have a 50% chance of keeping the coins and a 50% chance of sending double the coins back, provided that the transaction is under half of the current wallet balance? (Kind of like
coinsflip.com, you send and it will send back if you win)
I am interested in claiming some new altcoin bounties.