Red Dwarf Season 2 Episode 5
Holly’s absent-mindedness allows a meteorite to hit Red Dwarf, endangering the crew and damaging Rimmer’s hologram generator. As an emergency measure, the backup computer Queeg 500 takes over the ship, subjecting its inhabitants to a physical and mental fitness regime that drives them to the point of despair. In a last-ditch bid to reclaim control, Holly proposes a winner-takes-all Chess match, despite accusations that his knowledge stems from the Junior Encyclopaedia Of Space.