Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>Well, searching around, it seems that this is the livewires website: <a href="http://www.livewires.org.uk/python/home" rel="nofollow">Livewires Home Page</a> where one can download their livewires package.</p> <p>Also, some code from this: <a href="http://docs.google.com/viewer?a=v&amp;q=cache%3aZJ_gR284T4gJ%3amendel.informatics.indiana.edu/~yye/lab/teaching/fall2011-I210/CH11-game.ppt%20python%20old%20livewires%201.0&amp;hl=en&amp;gl=ca&amp;pid=bl&amp;srcid=ADGEESi_RxkDDp3D4RCDcmJss5zXXwccsbWuFzAJPPikP87WbvrO6YaTL7hwnuhSQIANCuuxD5IQmvegLHepBIlVnOYYz62abQUd5s3OzFzjbXOPLU61rQIgHlnnptYj0gxdl6Sce2CI&amp;sig=AHIEtbQM5-j4ux2HLpcWTZY4Csr5voR2Ug" rel="nofollow">Chapter 11</a> looks like what he's posted here ("The Pizza Panic Game"). </p> <p>Downloading and unpacking livewires shows that there is indeed no <code>init</code> function in the games module (as the comments already mentioned). </p> <p>Either this book has non-working examples (doubtful, given the depth it explains this example with); or <strong>the livewires package has changed between when the book was written and now</strong> (much more likely). </p> <p>The livewires website has other examples on it which I think you'll have much more success with.<br> I'd recommend you ditch the book, since it's likely you'll keep running into roadblocks like this. A Google search will turn up a number of other free python tutorials which are more up-to-date, and will be easier to follow.</p> <p>This page has a few links for beginners: <a href="http://wiki.python.org/moin/BeginnersGuide/NonProgrammers" rel="nofollow">Beginners Guide</a></p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload