{"id":2524,"date":"2012-05-15T21:46:56","date_gmt":"2012-05-16T04:46:56","guid":{"rendered":"http:\/\/learnbyblogging.com\/?p=2524"},"modified":"2012-05-15T22:38:45","modified_gmt":"2012-05-16T05:38:45","slug":"book-review-invent-your-own-computer-games-with-python-by-al-swigart","status":"publish","type":"post","link":"https:\/\/learnbyblogging.com\/?p=2524","title":{"rendered":"Book Review: &#8220;Invent Your Own Computer Games with Python&#8221; by Al Swigart"},"content":{"rendered":"<p>I did some paper learning of the Python programming language. Never got a hands on experience with it. Learning to program games seemed to be a good motivator to learn a new computer language. The nice thing about this book is that all of programs are available <a href=\"http:\/\/inventwithpython.com\/\">on the web<\/a> for download without having to retype them. In addition the entire book in html format is on the web too. <\/p>\n<p>Python programming language is intriguing to me because of its interpretive environment and object-oriented nature (though the book didn&#8217;t explore the &#8220;class&#8221; object) plus its popularity among fellow engineers.<\/p>\n<p>The most notable program is Reversi and its simple algorithm that borderline artificial intelligence. I was surprised by how easy it is to set up simulation to test out various algorithms against each other. Very nice. There were other text-oriented programs like Tic Tac Toe, Hangman, Sonar Treasure Hunt. Then the author went into more graphic-oriented games like Dodgers to explore the sound, and graphics. Very nice flow from simple games to a full blown interactive graphic game and yet kept the programming relative simple to understand.<\/p>\n<p>This is a book for beginner programmers. As an experienced programmer, I flipped the pages fairly quickly to learn the main syntax and uniqueness of the Python language. If I were a beginner programmer interested in learning Python to start off, I would pick this book because of the instant gratification from playing a game makes learning less stressful.<\/p>\n<p>There is a follow on book called &#8220;<a href=\"http:\/\/inventwithpython.com\/pygame\/index.html\">Making Games with Python and Pygame<\/a>.&#8221; I just might read it too.<\/p>\n<p><iframe src=\"http:\/\/rcm.amazon.com\/e\/cm?lt1=_blank&#038;bc1=000000&#038;IS2=1&#038;bg1=FFFFFF&#038;fc1=000000&#038;lc1=0000FF&#038;t=learbyblog-20&#038;o=1&#038;p=8&#038;l=as4&#038;m=amazon&#038;f=ifr&#038;ref=ss_til&#038;asins=0982106017\" style=\"width:120px;height:240px;\" scrolling=\"no\" marginwidth=\"0\" marginheight=\"0\" frameborder=\"0\"><\/iframe><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I did some paper learning of the Python programming language. Never got a hands on experience with it. Learning to program games seemed to be a good motivator to learn a new computer language. The nice thing about this book is that all of programs are available on the web for download without having to &hellip; <a href=\"https:\/\/learnbyblogging.com\/?p=2524\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Book Review: &#8220;Invent Your Own Computer Games with Python&#8221; by Al Swigart<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-2524","post","type-post","status-publish","format-standard","hentry","category-book-reviews"],"_links":{"self":[{"href":"https:\/\/learnbyblogging.com\/index.php?rest_route=\/wp\/v2\/posts\/2524","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/learnbyblogging.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/learnbyblogging.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/learnbyblogging.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/learnbyblogging.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2524"}],"version-history":[{"count":9,"href":"https:\/\/learnbyblogging.com\/index.php?rest_route=\/wp\/v2\/posts\/2524\/revisions"}],"predecessor-version":[{"id":2533,"href":"https:\/\/learnbyblogging.com\/index.php?rest_route=\/wp\/v2\/posts\/2524\/revisions\/2533"}],"wp:attachment":[{"href":"https:\/\/learnbyblogging.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2524"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/learnbyblogging.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2524"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/learnbyblogging.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2524"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}