{"id":1297,"date":"2018-02-15T08:47:48","date_gmt":"2018-02-15T08:47:48","guid":{"rendered":"http:\/\/blog.briang.org\/?p=1297"},"modified":"2018-02-15T09:05:55","modified_gmt":"2018-02-15T09:05:55","slug":"how-to-write-a-text-adventure-in-python","status":"publish","type":"post","link":"https:\/\/blog.briang.org\/?p=1297","title":{"rendered":"How to Write a Text Adventure in Python"},"content":{"rendered":"<p><a href=\"http:\/\/letstalkdata.com\/2014\/08\/how-to-write-a-text-adventure-in-python\/\"><strong>How to Write a Text Adventure in Python<\/strong><\/a><\/p>\n<blockquote><p>People new to programming often ask for suggestions of what projects they should work on and a common reply is, \u201cWrite a text adventure game!\u201d I think there are even some popular tutorials floating around that assign this as homework since I see it so much. This is a really good suggestion for a few reasons:<\/p>\n<ul>\n<li>The concept is familiar and fun (everyone loves games!)<\/li>\n<li>They can be written using core libraries<\/li>\n<li>The UI is the console<\/li>\n<\/ul>\n<p>But new programmers often struggle with knowing where to start. That\u2019s why I wrote and published Make Your Own Python Text Adventure. This book is a structured approach to learning Python that teaches the fundamentals of the language, while also guiding the development of your own customizable text adventure game.<\/p><\/blockquote>\n<p>via <a href=\"https:\/\/www.reddit.com\/r\/learnpython\/comments\/7xmr8p\/im_looking_for_good_resources_to_learn_oop\/\">I&#8217;m looking for good resources to learn OOP<\/a> [reddit]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>How to Write a Text Adventure in Python People new to programming often ask for suggestions of what projects they should work on and a common reply is, \u201cWrite a text adventure game!\u201d I think there are even some popular tutorials floating around that assign this as homework since I see it so much. This [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[174,51,422,252,153],"class_list":["post-1297","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-oo","tag-python","tag-r-learnpython","tag-reddit","tag-tutorial"],"_links":{"self":[{"href":"https:\/\/blog.briang.org\/index.php?rest_route=\/wp\/v2\/posts\/1297","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.briang.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.briang.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.briang.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.briang.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1297"}],"version-history":[{"count":3,"href":"https:\/\/blog.briang.org\/index.php?rest_route=\/wp\/v2\/posts\/1297\/revisions"}],"predecessor-version":[{"id":1300,"href":"https:\/\/blog.briang.org\/index.php?rest_route=\/wp\/v2\/posts\/1297\/revisions\/1300"}],"wp:attachment":[{"href":"https:\/\/blog.briang.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1297"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.briang.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1297"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.briang.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1297"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}