<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: mroge-dev</title>
    <description>The latest articles on DEV Community by mroge-dev (@mrogedev).</description>
    <link>https://dev.to/mrogedev</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F1004883%2Fc027d4d0-306a-4d7d-86c6-169f1730ff1a.png</url>
      <title>DEV Community: mroge-dev</title>
      <link>https://dev.to/mrogedev</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/mrogedev"/>
    <language>en</language>
    <item>
      <title>My simple text adventure game... with Aphids</title>
      <dc:creator>mroge-dev</dc:creator>
      <pubDate>Mon, 09 Jan 2023 22:08:18 +0000</pubDate>
      <link>https://dev.to/mrogedev/my-simple-text-adventure-game-with-aphids-3n1n</link>
      <guid>https://dev.to/mrogedev/my-simple-text-adventure-game-with-aphids-3n1n</guid>
      <description>&lt;p&gt;Greetings,&lt;/p&gt;

&lt;p&gt;I am a current computer science student and am also working through sites such as Codecademy, freecodecamp, etc. and had a project to create using Python. I chose a text adventure that that I used in one of my first courses and have refined it to meet the requirments for this project. I know it is fairly basic and that I could optimize the movement keys but I wanted to post what I had.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fouejfokhzcujb2z0dsf3.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fouejfokhzcujb2z0dsf3.png" alt="Image description" width="800" height="768"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The image above shows the introduction with instructions and a map. Next, the prompts show how movement occurs between the rooms and how to get items. After an item is retrieved it shows on the screen in your inventory.&lt;/p&gt;

&lt;p&gt;The code for the inventory highlights the use of python dictionary's and the inputted text parsed and split, then checked using if/elif statements.&lt;/p&gt;

&lt;p&gt;Here is a link to my code if interested: &lt;a href="https://github.com/mroge-dev/CS101-Final-Project/blob/master/aphids_revenge.py" rel="noopener noreferrer"&gt;Aphid's Revenge&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I would love to hear any and all thoughts on things that are good and what needs improvement. &lt;/p&gt;

&lt;p&gt;Thanks!&lt;/p&gt;

</description>
      <category>vibecoding</category>
      <category>productivity</category>
      <category>coding</category>
      <category>learning</category>
    </item>
  </channel>
</rss>
