Others like Pandemic and Carcassonne can be played just as well with two people, and sometimes even work better that way.
The publishers of game night favorites like Settlers of Catan, 7 Wonders and Codenames, which have either official or fan-made two-player variant rules, have come out with separate games that are meant to be played by two people. Many board game companies have recognized the demand for games that two people can play easily. Board games are always a fun activity for big groups of friends, but if you live with a partner or roommate, two-player games can keep you occupied even when its just the two of you.