Complex sentence: By rule, the game ends when the red light comes on, so the basket counted and Texas won the game.
Split into simpler sentences: By rule, the game ends when the light comes on. So the basket counted and Texas won the game.