{"id":51293,"date":"2019-04-26T10:51:58","date_gmt":"2019-04-26T09:51:58","guid":{"rendered":"https:\/\/www.raspberrypi.org\/?p=51293"},"modified":"2021-09-19T16:46:36","modified_gmt":"2021-09-19T15:46:36","slug":"interactive-fiction-with-python-hello-world-issue-8","status":"publish","type":"post","link":"https:\/\/www.raspberrypi.org\/blog\/interactive-fiction-with-python-hello-world-issue-8\/","title":{"rendered":"Interactive fiction with Python | Hello World issue 8"},"content":{"rendered":"

Nicholas Provenzano explains how he introduced Python to students in his literature class, bridging computer science and literacy.<\/em><\/p>\n

Literature classes seem like the last place you would find students coding, but interactive fiction has been around for decades. Students love to play computer games, and the very best games have amazing stories. This project will allow students to create their own piece of fiction and then use Python to turn it into a text-based computer game. Students will have a chance to create their own hero and monsters, treasures and traps and so much more while being introduced to Python. Students that love to write, and students that love to code, will love this lesson.<\/p>\n

\"Hello<\/a><\/p>\n

I\u2019ve been thinking a lot recently about to ways to bring computer science into the literature classroom. I set out exploring the Raspberry Pi projects page, where I saw a project that allowed the user to create their own text-based computer game using Python. I thought this would be a great way to engage students in reading, writing, and programming.<\/p>\n

Students create their own piece of fiction and then use their stories to create an amazing text-based computer game based on the role-playing game (RPG) tutorial from Raspberry Pi: helloworld.cc\/rpg<\/a>. From the first day working on this project, my students fell in love with the writing and the coding. They couldn\u2019t wait to create their game and share them with their friends.<\/p>\n

The project is best introduced with a focus on creative writing, where students should create an outline for their own adventure story. With that in hand, introduce the students to the Raspberry Pi RPG tutorial. It is much easier for students to create their game if they draw out the rooms on paper to help them visualise the game they\u2019re creating. The more time they are given to create their game, the more complex it can become. Students will be able to fully explore the code while creating a fun game they can share with others.<\/p>\n

\"Hello<\/a><\/p>\n

This project is the perfect way to bring coding to a literature class. Students that love to write\u00a0will be introduced to text-based programming, while students that love to code will have an opportunity to explore fiction through their own writing.<\/p>\n

My students were excited to spend their time creating a complex story, and an even more complex game to challenge their friends and their teacher. Students who struggled with the code were helped by other students who\u2019d already moved ahead. We spent a week on this project, but you could spend\u00a0longer, depending on the breadth of the stories and games. Watching students use their critical thinking skills to plan out a maze for their players was great to see.<\/p>\n

The best part was watching students who do not normally engage in reading and writing lessons become leaders as they embraced the coding and were excited to turn their story into a game and share it with everyone. This project will become a mainstay in my teaching for years to come.<\/p>\n

Take this to your club or classroom<\/h2>\n

For the complete lesson plan of the above project, download Hello World issue 8 for free<\/a> and turn to pages 80\u201381.<\/p>\n

\"Hello<\/a><\/p>\n

Get Hello World issue 8 for free<\/h2>\n

Hello World is available to download for free<\/a>\u00a0in PDF format anywhere in the world. Subscribe to Hello World<\/a> today to receive the latest issues into your inbox as soon as they’re released.<\/p>\n

\"Hello<\/a><\/p>\n

If you are a UK-based educator, you can also subscribe for free print copies<\/a> of Hello World, which will be delivered to your door at no extra cost.<\/p>\n

And, lastly, if you’d like to purchase Hello World magazine, you can buy the latest issue\u00a0via the Raspberry Pi Press website<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"

Nicholas Provenzano explains how he introduced Python to students in his literature class, bridging computer science and literacy. Literature classes seem like the last place you would find students coding, but interactive fiction has been around for decades. Students love to play computer games, and the very best games have amazing stories. This project will…<\/p>\n","protected":false},"author":32719,"featured_media":51303,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[2694,3879,2116],"tags":[3417,3418,3419],"home_page_category":[],"home_page_card_color":[],"class_list":["post-51293","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-hello-world","category-foundation","category-education","tag-fiction","tag-lesson-plan","tag-nicholas-provenzano"],"acf":[],"featured_image_src":"https:\/\/www.raspberrypi.org\/app\/uploads\/2019\/04\/HelloWorld8-dragged.png","author_info":{"display_name":"Sian Williams Page","author_link":"https:\/\/www.raspberrypi.org\/blog\/author\/sianwilliamspage\/"},"yoast_head":"\nInteractive fiction with Python | Hello World issue 8 - Raspberry Pi Foundation<\/title>\n<meta name=\"description\" content=\"Nicholas Provenzano explains how he introduced Python to students in his literature class, bridging computer science and literacy\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.raspberrypi.org\/blog\/interactive-fiction-with-python-hello-world-issue-8\/\" \/>\n<meta property=\"og:locale\" content=\"en_GB\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Interactive fiction with Python | Hello World issue 8 - Raspberry Pi Foundation\" \/>\n<meta property=\"og:description\" content=\"Nicholas Provenzano explains how he introduced Python to students in his literature class, bridging computer science and literacy\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.raspberrypi.org\/blog\/interactive-fiction-with-python-hello-world-issue-8\/\" \/>\n<meta property=\"og:site_name\" content=\"Raspberry Pi Foundation\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/raspberrypi\" \/>\n<meta property=\"article:published_time\" content=\"2019-04-26T09:51:58+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-09-19T15:46:36+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.raspberrypi.org\/app\/uploads\/2019\/04\/HelloWorld8-dragged-500x657.png\" \/>\n\t<meta property=\"og:image:width\" content=\"500\" \/>\n\t<meta property=\"og:image:height\" content=\"657\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Sian Williams Page\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@swilliamspage\" \/>\n<meta name=\"twitter:site\" content=\"@Raspberry_Pi\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Sian Williams Page\" \/>\n\t<meta name=\"twitter:label2\" content=\"Estimated reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.raspberrypi.org\\\/blog\\\/interactive-fiction-with-python-hello-world-issue-8\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.raspberrypi.org\\\/blog\\\/interactive-fiction-with-python-hello-world-issue-8\\\/\"},\"author\":{\"name\":\"Sian Williams Page\",\"@id\":\"https:\\\/\\\/www.raspberrypi.org\\\/#\\\/schema\\\/person\\\/ae56e28cfc581ec3b27261bca2e4a01a\"},\"headline\":\"Interactive fiction with Python | Hello World issue 8\",\"datePublished\":\"2019-04-26T09:51:58+00:00\",\"dateModified\":\"2021-09-19T15:46:36+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.raspberrypi.org\\\/blog\\\/interactive-fiction-with-python-hello-world-issue-8\\\/\"},\"wordCount\":635,\"commentCount\":4,\"image\":{\"@id\":\"https:\\\/\\\/www.raspberrypi.org\\\/blog\\\/interactive-fiction-with-python-hello-world-issue-8\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.raspberrypi.org\\\/app\\\/uploads\\\/2019\\\/04\\\/HelloWorld8-dragged.png\",\"keywords\":[\"fiction\",\"lesson plan\",\"Nicholas Provenzano\"],\"articleSection\":[\"Hello World\",\"Foundation\",\"Education\"],\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.raspberrypi.org\\\/blog\\\/interactive-fiction-with-python-hello-world-issue-8\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.raspberrypi.org\\\/blog\\\/interactive-fiction-with-python-hello-world-issue-8\\\/\",\"url\":\"https:\\\/\\\/www.raspberrypi.org\\\/blog\\\/interactive-fiction-with-python-hello-world-issue-8\\\/\",\"name\":\"Interactive fiction with Python | Hello World issue 8 - Raspberry Pi Foundation\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.raspberrypi.org\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.raspberrypi.org\\\/blog\\\/interactive-fiction-with-python-hello-world-issue-8\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.raspberrypi.org\\\/blog\\\/interactive-fiction-with-python-hello-world-issue-8\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.raspberrypi.org\\\/app\\\/uploads\\\/2019\\\/04\\\/HelloWorld8-dragged.png\",\"datePublished\":\"2019-04-26T09:51:58+00:00\",\"dateModified\":\"2021-09-19T15:46:36+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.raspberrypi.org\\\/#\\\/schema\\\/person\\\/ae56e28cfc581ec3b27261bca2e4a01a\"},\"description\":\"Nicholas Provenzano explains how he introduced Python to students in his literature class, bridging computer science and literacy\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.raspberrypi.org\\\/blog\\\/interactive-fiction-with-python-hello-world-issue-8\\\/#breadcrumb\"},\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.raspberrypi.org\\\/blog\\\/interactive-fiction-with-python-hello-world-issue-8\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\\\/\\\/www.raspberrypi.org\\\/blog\\\/interactive-fiction-with-python-hello-world-issue-8\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.raspberrypi.org\\\/app\\\/uploads\\\/2019\\\/04\\\/HelloWorld8-dragged.png\",\"contentUrl\":\"https:\\\/\\\/www.raspberrypi.org\\\/app\\\/uploads\\\/2019\\\/04\\\/HelloWorld8-dragged.png\",\"width\":1653,\"height\":2173,\"caption\":\"Hello World issue 8\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.raspberrypi.org\\\/blog\\\/interactive-fiction-with-python-hello-world-issue-8\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.raspberrypi.org\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Interactive fiction with Python | Hello World issue 8\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.raspberrypi.org\\\/#website\",\"url\":\"https:\\\/\\\/www.raspberrypi.org\\\/\",\"name\":\"Raspberry Pi Foundation\",\"description\":\"Teach, learn and make with Raspberry Pi\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.raspberrypi.org\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-GB\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.raspberrypi.org\\\/#\\\/schema\\\/person\\\/ae56e28cfc581ec3b27261bca2e4a01a\",\"name\":\"Sian Williams Page\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\\\/\\\/www.raspberrypi.org\\\/app\\\/uploads\\\/2019\\\/04\\\/Sian-Williams.jpg\",\"url\":\"https:\\\/\\\/www.raspberrypi.org\\\/app\\\/uploads\\\/2019\\\/04\\\/Sian-Williams.jpg\",\"contentUrl\":\"https:\\\/\\\/www.raspberrypi.org\\\/app\\\/uploads\\\/2019\\\/04\\\/Sian-Williams.jpg\",\"caption\":\"Sian Williams Page\"},\"description\":\"Sian is the Editor of Hello World, our magazine for computing educators. She loves reading memoirs, novels, and newspaper supplements and is on a quest to find the perfect chickpea curry recipe.\",\"sameAs\":[\"https:\\\/\\\/x.com\\\/swilliamspage\"],\"url\":\"https:\\\/\\\/www.raspberrypi.org\\\/blog\\\/author\\\/sianwilliamspage\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Interactive fiction with Python | Hello World issue 8 - Raspberry Pi Foundation","description":"Nicholas Provenzano explains how he introduced Python to students in his literature class, bridging computer science and literacy","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.raspberrypi.org\/blog\/interactive-fiction-with-python-hello-world-issue-8\/","og_locale":"en_GB","og_type":"article","og_title":"Interactive fiction with Python | Hello World issue 8 - Raspberry Pi Foundation","og_description":"Nicholas Provenzano explains how he introduced Python to students in his literature class, bridging computer science and literacy","og_url":"https:\/\/www.raspberrypi.org\/blog\/interactive-fiction-with-python-hello-world-issue-8\/","og_site_name":"Raspberry Pi Foundation","article_publisher":"https:\/\/www.facebook.com\/raspberrypi","article_published_time":"2019-04-26T09:51:58+00:00","article_modified_time":"2021-09-19T15:46:36+00:00","og_image":[{"width":500,"height":657,"url":"https:\/\/www.raspberrypi.org\/app\/uploads\/2019\/04\/HelloWorld8-dragged-500x657.png","type":"image\/png"}],"author":"Sian Williams Page","twitter_card":"summary_large_image","twitter_creator":"@swilliamspage","twitter_site":"@Raspberry_Pi","twitter_misc":{"Written by":"Sian Williams Page","Estimated reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.raspberrypi.org\/blog\/interactive-fiction-with-python-hello-world-issue-8\/#article","isPartOf":{"@id":"https:\/\/www.raspberrypi.org\/blog\/interactive-fiction-with-python-hello-world-issue-8\/"},"author":{"name":"Sian Williams Page","@id":"https:\/\/www.raspberrypi.org\/#\/schema\/person\/ae56e28cfc581ec3b27261bca2e4a01a"},"headline":"Interactive fiction with Python | Hello World issue 8","datePublished":"2019-04-26T09:51:58+00:00","dateModified":"2021-09-19T15:46:36+00:00","mainEntityOfPage":{"@id":"https:\/\/www.raspberrypi.org\/blog\/interactive-fiction-with-python-hello-world-issue-8\/"},"wordCount":635,"commentCount":4,"image":{"@id":"https:\/\/www.raspberrypi.org\/blog\/interactive-fiction-with-python-hello-world-issue-8\/#primaryimage"},"thumbnailUrl":"https:\/\/www.raspberrypi.org\/app\/uploads\/2019\/04\/HelloWorld8-dragged.png","keywords":["fiction","lesson plan","Nicholas Provenzano"],"articleSection":["Hello World","Foundation","Education"],"inLanguage":"en-GB","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.raspberrypi.org\/blog\/interactive-fiction-with-python-hello-world-issue-8\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.raspberrypi.org\/blog\/interactive-fiction-with-python-hello-world-issue-8\/","url":"https:\/\/www.raspberrypi.org\/blog\/interactive-fiction-with-python-hello-world-issue-8\/","name":"Interactive fiction with Python | Hello World issue 8 - Raspberry Pi Foundation","isPartOf":{"@id":"https:\/\/www.raspberrypi.org\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.raspberrypi.org\/blog\/interactive-fiction-with-python-hello-world-issue-8\/#primaryimage"},"image":{"@id":"https:\/\/www.raspberrypi.org\/blog\/interactive-fiction-with-python-hello-world-issue-8\/#primaryimage"},"thumbnailUrl":"https:\/\/www.raspberrypi.org\/app\/uploads\/2019\/04\/HelloWorld8-dragged.png","datePublished":"2019-04-26T09:51:58+00:00","dateModified":"2021-09-19T15:46:36+00:00","author":{"@id":"https:\/\/www.raspberrypi.org\/#\/schema\/person\/ae56e28cfc581ec3b27261bca2e4a01a"},"description":"Nicholas Provenzano explains how he introduced Python to students in his literature class, bridging computer science and literacy","breadcrumb":{"@id":"https:\/\/www.raspberrypi.org\/blog\/interactive-fiction-with-python-hello-world-issue-8\/#breadcrumb"},"inLanguage":"en-GB","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.raspberrypi.org\/blog\/interactive-fiction-with-python-hello-world-issue-8\/"]}]},{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/www.raspberrypi.org\/blog\/interactive-fiction-with-python-hello-world-issue-8\/#primaryimage","url":"https:\/\/www.raspberrypi.org\/app\/uploads\/2019\/04\/HelloWorld8-dragged.png","contentUrl":"https:\/\/www.raspberrypi.org\/app\/uploads\/2019\/04\/HelloWorld8-dragged.png","width":1653,"height":2173,"caption":"Hello World issue 8"},{"@type":"BreadcrumbList","@id":"https:\/\/www.raspberrypi.org\/blog\/interactive-fiction-with-python-hello-world-issue-8\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.raspberrypi.org\/"},{"@type":"ListItem","position":2,"name":"Interactive fiction with Python | Hello World issue 8"}]},{"@type":"WebSite","@id":"https:\/\/www.raspberrypi.org\/#website","url":"https:\/\/www.raspberrypi.org\/","name":"Raspberry Pi Foundation","description":"Teach, learn and make with Raspberry Pi","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.raspberrypi.org\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-GB"},{"@type":"Person","@id":"https:\/\/www.raspberrypi.org\/#\/schema\/person\/ae56e28cfc581ec3b27261bca2e4a01a","name":"Sian Williams Page","image":{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/www.raspberrypi.org\/app\/uploads\/2019\/04\/Sian-Williams.jpg","url":"https:\/\/www.raspberrypi.org\/app\/uploads\/2019\/04\/Sian-Williams.jpg","contentUrl":"https:\/\/www.raspberrypi.org\/app\/uploads\/2019\/04\/Sian-Williams.jpg","caption":"Sian Williams Page"},"description":"Sian is the Editor of Hello World, our magazine for computing educators. She loves reading memoirs, novels, and newspaper supplements and is on a quest to find the perfect chickpea curry recipe.","sameAs":["https:\/\/x.com\/swilliamspage"],"url":"https:\/\/www.raspberrypi.org\/blog\/author\/sianwilliamspage\/"}]}},"_links":{"self":[{"href":"https:\/\/www.raspberrypi.org\/wp-json\/wp\/v2\/posts\/51293","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.raspberrypi.org\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.raspberrypi.org\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.raspberrypi.org\/wp-json\/wp\/v2\/users\/32719"}],"replies":[{"embeddable":true,"href":"https:\/\/www.raspberrypi.org\/wp-json\/wp\/v2\/comments?post=51293"}],"version-history":[{"count":11,"href":"https:\/\/www.raspberrypi.org\/wp-json\/wp\/v2\/posts\/51293\/revisions"}],"predecessor-version":[{"id":51335,"href":"https:\/\/www.raspberrypi.org\/wp-json\/wp\/v2\/posts\/51293\/revisions\/51335"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.raspberrypi.org\/wp-json\/wp\/v2\/media\/51303"}],"wp:attachment":[{"href":"https:\/\/www.raspberrypi.org\/wp-json\/wp\/v2\/media?parent=51293"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.raspberrypi.org\/wp-json\/wp\/v2\/categories?post=51293"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.raspberrypi.org\/wp-json\/wp\/v2\/tags?post=51293"},{"taxonomy":"home_page_category","embeddable":true,"href":"https:\/\/www.raspberrypi.org\/wp-json\/wp\/v2\/home_page_category?post=51293"},{"taxonomy":"home_page_card_color","embeddable":true,"href":"https:\/\/www.raspberrypi.org\/wp-json\/wp\/v2\/home_page_card_color?post=51293"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}