- ホーム
- > 洋書
- > 英文書
- > Computer / General
Full Description
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. 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.
Contents
Preface: Why This Book?
How to Use This Book
Introduction: Why Algorithms?
Chapter Summaries
Games that Involve Searching and Sorting
1. Guess Wrong Answers
2. The Road Not Taken
3. One Step at a Time
Turn-Based Strategy Games
4. Whose Turn Is It Anyway?
5. Move Faster
6. Pruning the Tree
Using Random Simulation
7. Throwing Darts
8. Aiming Darts
9. Aiming Darts at Others
Tracking and Training
10. Rock, Paper...Paper
11. Black Boxes
12. Minimizing Regret
Afterward: More Than a Game
Appendix: Python Review
References
About the Author
Index



