Write Python code that’s easier to change, test, and extend.
You already know how to write classes. Now learn how to decide what belongs in them, how they should collaborate, and how to handle changing requirements.
Object Oriented Design walks you through 15 guided exercises that connect everyday Python features with practical design decisions. You’ll work through focused problems, then bring the pieces together in Lighthouse Trail, an extensible board game engine for two to four players.
Each exercise starts with a concrete problem and a design before the code. Guided implementation, explanations, tests, edge cases, common mistakes, and an extension challenge help you understand why the solution works.
In the final project, you’ll combine turn management, interchangeable scoring rules, event notifications, and move undo into a working game engine. The book also includes solutions, further extensions, a glossary, and references to the official Python documentation.
Designed for readers comfortable with functions, collections, control flow, and basic classes, this book uses Python 3.12 or later and the standard library. It is Book 2 in Intermediate Python in Practice and can be studied on its own.
Les informations fournies dans la section « Synopsis » peuvent faire référence à une autre édition de ce titre.
Vendeur : PBShop.store US, Wood Dale, IL, Etats-Unis
PAP. Etat : New. New Book. Shipped from UK. THIS BOOK IS PRINTED ON DEMAND. Established seller since 2000. N° de réf. du vendeur L0-9798163623228
Quantité disponible : Plus de 20 disponibles
Vendeur : California Books, Miami, FL, Etats-Unis
Etat : New. Print on Demand. N° de réf. du vendeur I-9798163623228
Quantité disponible : Plus de 20 disponibles
Vendeur : PBShop.store UK, Fairford, GLOS, Royaume-Uni
PAP. Etat : New. New Book. Delivered from our UK warehouse in 4 to 14 business days. THIS BOOK IS PRINTED ON DEMAND. Established seller since 2000. N° de réf. du vendeur L0-9798163623228
Quantité disponible : Plus de 20 disponibles
Vendeur : AHA-BUCH GmbH, Einbeck, Allemagne
Taschenbuch. Etat : Neu. Neuware. N° de réf. du vendeur 9798163623228
Quantité disponible : 2 disponible(s)