I’m playing $1/$2 poker with friends. A friend had AK and I had AA on the button. I raised to $15 after a small raise before me and my friend with AK called. The other player folded. 

The flop came K, 8, 4 with no common suits. My friend checked and I bet 1/2 pot. He called. 

The next card was a 10 and I bet full pot (about $70) and he raised me all in to about $200. I called. 

The next card was meaningless and I won the pot. 

Did he play the hand well?

He played the hand aggressively, but not poorly. He had to assume he had the lead after the flop. His best move would have been to call your aggressive pot bet instead of go all in, but given he had top pair with top kicker, it’s not a bad move. He was unlucky to be going against aces.