edited CoinGame.java