Which describes the underlined word in the sentence?

The boys were playing a game of chess.









A.
indirect object







B.
predicate adjective







C.
direct object







D.
predicate nominative