So... the war continued. I razed a few more of Hanniabl's cities, but my stack was getting smaller and was badly hurt, so I sued for peace and got feudalism if I remember correctly. During the peace I discovered education and built Oxford University and Heroic Epic.
Somewhere around here I discovered engineering.
Then I produced some macemen, trebuchets, catas, knights and two pikemen and declared war on Ragnar. I razed one of his cities that was right on my border. Then I waited for him to counterattack and slaughtered his big stack. After that I destroyed all of his cities except for one before I sued for peace and got theology and music.
Techwise I went for gunpowder, chemistry, philosophy, liberalism (took steel), printing press during the war.
After ten turns I destroyed his last city. During the peace between the wars I discovered banking and replaceable parts and built some cannons.
After finishing him off I took a little break fighting until I discovered rifling. Then I started pumping out rifles , and when I had seven or so I attacked Joao. He didn't stand a chance. It's too easy when you attack longbows and knights with rifles... After he was exterminated I easily exterminated Hannibal too. I continued pumping out riflemen during the whole war.
The AI's were in standstill wars with each other during pretty much the whole time, and no one declared war on me, which probably helped quite a bit. I think that the war I started between Joao and Hannibal was key to my success.
I finished in 1695 with the score 15783.
Oh, and I settled most of the great people I got, except for one scientist that founded an academy and one scientist that bulbed education. I got four great artists which sucked.