Preheat the oven to 180°C (356°F).
Mash the banana with a fork.
Add the eggs, cocoa powder, almond flour, and baking powder to the mashed banana and mix well.
Add nuts and dark chocolate pieces and mix evenly.
Pour the batter into a baking pan.
Bake in the preheated oven for 20 minutes.