The correct answer is one of two possible ways of saying this. The idea of the Ukrainian sentence is the past tense of PLAY. In English this can be accomplished by using the past tense inquisitive DID or using the past tense verb PLAYED. The dictionary hints provided use "played basketball" therefore not accepting "you played basketball?" as correct is contrary to your own provided hints.