Sports games have always been a staple of video gaming. In fact, in the earliest days of the medium, they were a good source of basic rules and mechanics for designers to rely on.
Basketball for Atari 2600 was a noteworthy example of one of these early sports games for being an early title that didn’t require two human players. In fact, the single-player mode even claimed to offer an adaptive difficulty of sorts, with the computer player supposedly playing “better” if the scores were closer.
In practice, this mostly equates to the computer player running the wrong direction if he’s winning too much, but it was 1978… give them a bit of credit!