fudgy brownies have a higher fat-to-flour ratio than cakey ones. so add more fat -- in this case, butter and chocolate. a cakey batch has more flour and relies on baking powder for leavening. the amount of sugar and eggs does not change whether you're going fudgy or cakey.