Chapter 15 - AI Simulation
Chapter Content and Source Code
Read Chapter 15 - AI Simulation
Download the source for aisim1.py.
Download the source for aisim2.py.
Download the source for aisim3.py.
Or you can copy and paste the code from here:
AISim1.py:
AISim2.py:
AISim3.py:
Online Diff Tool
If you've typed in the source code, but are seeing errors, you can compare your code to the book's code with the online diff tool for aisim1.py, aisim2.py, aisim3.py.
Copyright 2008, 2009 (c) by Albert Sweigart
"Invent Your Own Computer Games with Python" 2nd Edition is free to copy and distribute under the Creative Commons Attribution-Noncommercial-Share Alike 3.0 United States License.