code examples for ThePythonGameBook.com