Use the mouse to turn the aim the wizard's shots. The candle will go to wherever your mouse is, so hold your mouse near the edge of the screen to get the best results. You start with 25 health and no coins. Get 5 coins for every bat you kill. Press S to open the shop, and press the X to close the shop in the top right corner. Click on the upgrade to buy it. Good luck!
Dennis, for starting off the bat program, Hunter, Leo, and Theo for playing the game and giving me advice on how to improve the program.