Take a whack at (someone)

To hit someone.

The man on the bus suddenly took a whack at the man sitting beside him.