单项选择题

John and Sue______ computer games for hours before their parents came home from work.

A.are playing
B.have been playing
C.played
D.had been playing