Footage from a CCTV camera shows Thomas Lovell, of York Road, Southend, using a branch to play with the Staffordshire bull terrier.
But things turned sour after the dog, a two-year-old called Rex, accidentally caught Lovell’s hand with his tooth.
It caused Lovell, 28, to lose his temper and to start beating the dog with the stick in the middle of the street.
Klare Kennett, a spokeswoman for the RSPCA, said they had brought a prosecution against him following complaints from members of the public.
Lovell appeared at Southend Magistrates’ Court where he pleaded guilty to a charge of causing unecessary suffering to an animal on March 10 this year, an offence under the Animal Welfare Act 2006.
He was given a year-long community order during which he must have treatment for alcohol dependency for six months.
He was also ordered to pay £100 costs to the RSPCA and received a five-year ban from owning animals.
The Earl of Wessex faces a possible criminal investigation for animal cruelty after photographs showed him appearing to beat two gundogs with a stick during a royal pheasant shoot.
An RSPCA inspector is to examine the images, taken by a photographer at Sandringham, Norfolk, on Saturday, to determine whether the animals were subjected to "unnecessary suffering".
Buckingham Palace insisted that the Prince was simply trying to break up a fight between the two labradors and said that the pictures do not show definitively whether he actually struck them.
Throwing a stick for a pet dog too dangerous, says leading vet But animal rights groups condemned his behaviour as "sickening" and "cowardly".
The photographs show the Prince approaching the two dogs waving a long crook as they grapple over a dead pheasant.
One picture shows one of the animals cowering to one side as he swings the stick over his shoulder.
In another, it hovers above the spine of one of the dogs.
Onlookers said he appeared to take three swipes at one of the dogs while shooting in a field with his nephew Peter Phillips.
If found guilty, the Prince could also be banned from keeping animals and receive a criminal record.
A spokeswoman for the RSPCA said an investigation was not under way but declined to rule one out.
"We need to look at the photographs and my colleague the inspector will consider whether it is appropriate to take action," she said.