01 - Preheat oven to 350°F (175°C) and line two baking sheets with parchment paper.
02 - In a medium mixing bowl, whisk together flour, cocoa powder, baking soda, and salt.
03 - In a large bowl, beat unsalted butter and granulated sugar until light and fluffy using an electric mixer. Incorporate the egg until fully blended.
04 - Mix buttermilk and vanilla extract into the butter mixture. Gradually add dry ingredients, mixing until a smooth batter forms.
05 - Using a spoon or cookie scoop, drop 24 equal portions of batter onto prepared sheets, keeping a 2-inch gap between rounds.
06 - Bake in the preheated oven for 10 to 12 minutes, or until cakes are set and spring back when lightly touched. Cool completely on a cooling rack.
07 - Beat softened unsalted butter until creamy. Add powdered sugar, marshmallow creme, vanilla, and a pinch of salt. Continue beating until filling is light and fluffy.
08 - Divide frosting into three separate bowls. Leave one batch white, tint one batch red, and tint the remaining batch blue using food coloring.
09 - Pipe or spoon filling onto the flat side of half the cakes. Top with remaining cakes to form sandwich pies.
10 - Roll the edges of assembled pies in patriotic sprinkles or pipe colored frosting on top as desired for garnish.