A group of boys play basketball outside of a brown building.
The group of boys outside the brown building are playing basketball.
A is a reference to a singular group  as is the.  To play basketball you must be playing.
(-x)
(-x)