Enter the "generate cookies" code. Type Game. Earn(number) into the console, making sure to replace number with the number of cookies that you want to generate. For example, if you want to generate virtually infinite cookies, you might type Game. Earn(999999999999999999999999999999) here.