Let's say this world was real and the creator couldn't make the ending all lovey dovey (ya know the hero always wins crap) who do you think would win the war then? Madara or the Alliance? or maybe even a backstabber?
Honestly Kishi gives too much support to Madara and Obito, if the story wrote itself the alliance would've won a long time ago. Maybe the war wouldn't have even started.