a basketball court has two halves