
The Computer Always Wins
A Playful Introduction to Algorithms Through Puzzles and Strategy Games
Learn programming concepts through familiar word, board, and strategy games, from recursion to machine learning.
- Themes
- Algorithms through games, Recursion and efficient search, Machine learning
Programming Through Games
Come here for
- Recursion through tic-tac-toe
- Efficient search through sudoku and Wordle
Expect
- Tic-tac-toe for recursion
- Rock-paper-scissors as a route into machine learning
Where it sits
- 58%Computer Science
- 44%Game Dev
- 37%Algorithms
How strongly BookFrontier reads the book as belonging to each subject.
Nearest books
Matched by our semantic model. Ordered by what its readers also loved. Most of these share its genre: Algorithms.
Think Like a ProgrammerV. Anton Spraul66% subject match
AlgorithmsRobert Sedgewick, Kevin Wayne63% subject matchAlso shares Computer Science
Grokking Algorithms, Second EditionAditya Y Bhargava63% subject matchAlso shares Computer Science
Data Structures the Fun WayJeremy Kubica62% subject matchAlso shares Computer Science
JavaScript for KidsNick Morgan62% subject matchAlso shares Game Dev
Learn to Program with Small BasicMajed Marji, Ed Price62% subject match
Tiny C ProjectsDan Gookin62% subject match
AlgorithmsPanos Louridas61% subject match
For younger readers: Python for Kids, The CS Detective, Scratch 3 Programming Playground
Start with three books, and this one can be the first.
Members get a new edition every morning: a route out from their books to essays, research and talks, with the reason for each.
Sign upAbout this book
An engaging and approachable resource for beginning-to-intermediate coders eager to learn advanced ideas in computer programming.
In The Computer Always Wins, Elliot Lichtman will teach you some of computer science’s most powerful concepts in a refreshingly accessible way: exploring them through word games, board games, and strategy games you already know.
Continue reading
Learn recursion by playing tic-tac-toe, efficient search through puzzle games like sudoku and Wordle, and machine learning by way of the playground classic rock-paper-scissors. Finish the book, and you’ll come away with not only a deeper understanding of these foundational programming techniques but also a new appreciation for the amazing feats that can be accomplished using simple, readable code.
Publisher details
Publisher categories
- Game Dev
- Algorithms
- EdTech
- Authors
- Elliot Lichtman
- Publisher
- MIT Press
- Published
- April 29, 2025
- Format
- Print & ebook
- Reading lane
- Game Dev