<commit_before>---
layout: post
title: Cupcake Clicker
---
 Have you ever played that ridiculously addicting game <a href="http://orteil.dashnet.org/cookieclicker/" target="_blank">"Cookie Clicker"</a>? Well today I've started my own <a href="http://rachelmcquirk.com/projects/cupcakeclicker" target="_blank">Cupcake Clicker</a> game. It won't be nearly as in-depth but I thought it would be fun to try and replicate parts of it. Right now all you're able to do is click on the cupcake and have it show how many cupcakes you've made (1 cupcake per click). There is the shop but right now it doesn't actually do anything - I'll be working on the JS for that tomorrow.<commit_msg>cupcake clicker part 2<commit_after>---
layout: post
title: Part 2 - Cupcake Clicker
---
 My <a href="http://rachelmcquirk.com/projects/cupcakeclicker2" target="_blank">Cupcake Clicker</a> shop works now! Today I focused on getting the shop to work as well as saving an object to local storage using JSON.Stringify. Tomorrow I'll work on showing users how many cupcakes the items are adding per second, scaling the cost based on the number of items you have and whatever else I can come up with.
{'fraction_non_alphanumeric': 0.08354646206308611, 'fraction_numerical': 0.0034100596760443308, 'mean_word_length': 4.485981308411215, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6870396', 'n_tokens_mistral': 341, 'n_tokens_neox': 318, 'n_words': 167}