Anyone have a chocolate or white chocolate cake recipe that is fool proof!?

I am making a train so it needs to be firm so I can cut it - mmm maybe a mud cake?

I have looked but must be looking in the wrong sections!

TIA!