How to code a clicker game