Programming is about finding the minimum amount of information that a computer can use to solve problems. For example, if you're trying to connect every major city in the united states, how do you draw connections between all of them that would use the least amount of money? Algorithms like miny max are used for perfect information games such as checkers and chess. You can programm yourself a chess engine that'll beat any of your friends easily.