<?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: mjp286</title>
    <description>The latest articles on DEV Community by mjp286 (@mjp286).</description>
    <link>https://dev.to/mjp286</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%2F1144130%2Fecf47d13-5ebb-4430-98fe-6be2567b42ea.png</url>
      <title>DEV Community: mjp286</title>
      <link>https://dev.to/mjp286</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/mjp286"/>
    <language>en</language>
    <item>
      <title>Code for Tic-Tac-Toe: Codecademy Portfolio Project</title>
      <dc:creator>mjp286</dc:creator>
      <pubDate>Mon, 18 Mar 2024 18:58:09 +0000</pubDate>
      <link>https://dev.to/mjp286/code-for-tic-tac-toe-codecademy-portfolio-project-172m</link>
      <guid>https://dev.to/mjp286/code-for-tic-tac-toe-codecademy-portfolio-project-172m</guid>
      <description>&lt;p&gt;I created a tic-tac-toe game for Codecademy's CS 101 Introduction to Programming. The task was to create a program that can be played with family and friends. The project objectives were as follows:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Build a terminal program using Python&lt;/li&gt;
&lt;li&gt;Add at least one interactive feature using input()&lt;/li&gt;
&lt;li&gt;Use Git version control&lt;/li&gt;
&lt;li&gt;Use the command line and file navigation&lt;/li&gt;
&lt;li&gt;Write a technical blog post on the project&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The program starts with creating a tic-tac-toe board. Each square is given a number 1 through 9. Player 1 can enter a number to place an X in the chosen square. Then the computer places a O in a random square. After each play, the program checks if either player has three in a row. If there is, someone wins. Otherwise, the game continues until all the squares are full and the game ends in a tie. &lt;/p&gt;

&lt;p&gt;The following is a link to the code on GitHub:&lt;br&gt;
&lt;a href="https://github.com/mjp286/tic_tac_toe.git"&gt;https://github.com/mjp286/tic_tac_toe.git&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;This is a basic code for a simple game, but it was fun to do. It's a good way to practice python. Give it a try and let me know what you think.&lt;/p&gt;

</description>
    </item>
    <item>
      <title>MIPS Simulator for Codecademy</title>
      <dc:creator>mjp286</dc:creator>
      <pubDate>Mon, 22 Jan 2024 20:30:41 +0000</pubDate>
      <link>https://dev.to/mjp286/mips-simulator-for-codecademy-576i</link>
      <guid>https://dev.to/mjp286/mips-simulator-for-codecademy-576i</guid>
      <description>&lt;p&gt;The goal of this project is to create a program that simulates the functionalities of a CPU.  My program implements an Instruction Set Architecture that processes MIPS Instructions.  A data_input.txt file is provided to populate the memory and an instruction_input.txt file is provided to test the functionality.  I added additional instructions to the instruction_input file to test all of the instructions the MIPS Simulator can process. &lt;/p&gt;

&lt;p&gt;The Github Repository can be found here: &lt;a href="https://github.com/mjp286/CPU-simulator.git"&gt;https://github.com/mjp286/CPU-simulator.git&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The program can be run by using Main.py. Different instructions can be added to the instruction_input.txt file or another '.txt' file can be used. If a different '.txt' file is used, the name of the file needs to be updated in Main.py. The MIPS Simulator can be populated with different data by altering the data_input file in MIPS_Simulator.py. The output of the program prints the state of the MIPS_Simulator(registers, memory, program counter) before the instruction is run and after the instruction is run. The output prints the state of the Cache after a "Cache" instruction is run.&lt;/p&gt;

&lt;p&gt;This project was more difficult than other projects for Codecademy. I had to watch courses on YouTube in order to understand MIPS ISA enough to begin the project. Writing the code also required more research. It is true what they say "The best way to learn is by doing."&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Song Recommender</title>
      <dc:creator>mjp286</dc:creator>
      <pubDate>Wed, 23 Aug 2023 15:58:33 +0000</pubDate>
      <link>https://dev.to/mjp286/song-recommender-47f3</link>
      <guid>https://dev.to/mjp286/song-recommender-47f3</guid>
      <description>&lt;p&gt;This is a project in the Codecademy CS102 course. It is a simple program to recommend music playlists based on user input.  The program will give a list of music genres that the user can select from. The user types the genre they would like to see, and a list of songs is generated. The songs are from Rolling Stone magazines' Top 500 songs. &lt;/p&gt;

&lt;p&gt;The user should run the Main.py file. The program asks to select a genre. The user types the genre from the list provided and then the program asks if you want to see a list of songs. If the user enters 'y' then a list of songs is generated. The program works by creating a tree from the songs.csv file. The genre is the parent node and the children are the songs in that genre. A breadth-first search algorithm is used to search the tree and provide a list of songs. &lt;/p&gt;

&lt;p&gt;Here is a link to the program:&lt;br&gt;
&lt;a href="https://github.com/mjp286/Recommendation-Software-Python.git"&gt;https://github.com/mjp286/Recommendation-Software-Python.git&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The songs.csv file could be altered to make the list of songs more personalized.&lt;/p&gt;

</description>
    </item>
  </channel>
</rss>
