Preheat your oven to 350°F (175°C) and grease a 9-inch cake pan.
In a stand mixer or with a hand mixer, cream together the butter, brown sugar, and white sugar for about 2 minutes.
Mix in the egg, extra yolk, and vanilla until smooth and well combined.
Add flour, baking soda, and salt. Mix until everything is just combined.
Stir in all but 2 tablespoons of chocolate chips.
Press the cookie dough evenly into the greased cake pan and sprinkle the remaining chocolate chips on top.
Bake in the preheated oven for 22-25 minutes until the top is golden brown.
Allow the cookie cake to cool completely in the pan.
Run a knife around the edges and transfer to a serving platter.
Beat together all frosting ingredients until smooth, adding milk to adjust the consistency.
Pipe or spread the frosting over the top of the cake and finish with sprinkles.
Serve and enjoy your creation.