Thanks for the comments
There was no time to think about the balance of the waves, so I took random values and wrote them into the code.
I completely agree with the mechanics of coins.