<?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: MOHAMED IDAGHDOUR</title>
    <description>The latest articles on DEV Community by MOHAMED IDAGHDOUR (@medo_id99).</description>
    <link>https://dev.to/medo_id99</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%2F1473008%2Fc1ec851f-2ace-420c-902e-d0007e292821.jpeg</url>
      <title>DEV Community: MOHAMED IDAGHDOUR</title>
      <link>https://dev.to/medo_id99</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/medo_id99"/>
    <language>en</language>
    <item>
      <title>Building a Movie Recommendation Program in Python</title>
      <dc:creator>MOHAMED IDAGHDOUR</dc:creator>
      <pubDate>Wed, 29 May 2024 18:24:38 +0000</pubDate>
      <link>https://dev.to/medo_id99/building-a-movie-recommendation-program-in-python-2dni</link>
      <guid>https://dev.to/medo_id99/building-a-movie-recommendation-program-in-python-2dni</guid>
      <description>&lt;h2&gt;
  
  
  &lt;strong&gt;Introduction&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;In today's digital age, finding the perfect movie to watch can be overwhelming with so many options available. To address this, I built a Movie Recommendation Program in Python, designed to help users easily discover movies by genre and release year. This tool simplifies the decision-making process and makes movie selection more enjoyable.&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;The Program in Action&lt;/strong&gt;
&lt;/h2&gt;

&lt;h3&gt;
  
  
  How It Works
&lt;/h3&gt;

&lt;p&gt;The Movie Recommendation Program is comprised of three main files:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;app.py&lt;/code&gt;: The main application file that handles user interaction.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;movie_management_system.py&lt;/code&gt;: Contains the classes and methods for managing the movie collection.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;movies_dataset.csv&lt;/code&gt;: A dataset file with information on various movies.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Code Overview
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Loading Movies: The program reads data from &lt;code&gt;movies_dataset.csv&lt;/code&gt; and loads it into a &lt;code&gt;MovieCollection&lt;/code&gt; object.&lt;/li&gt;
&lt;li&gt;User Interaction: Users can search for movies by genre or filter them by release year.&lt;/li&gt;
&lt;li&gt;Movie Management: The &lt;code&gt;MovieCollection&lt;/code&gt; class in &lt;code&gt;movie_management_system.py&lt;/code&gt; organizes movies into genres and allows for efficient retrieval and display.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Here’s a snippet of the main application:&lt;/p&gt;

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

&lt;h2&gt;
  
  
  &lt;strong&gt;Check Out the Code&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;The complete source code for the Movie Recommendation Program is available on GitHub. Feel free to explore, fork, and contribute to the project!&lt;/p&gt;

&lt;p&gt;GitHub Repository: &lt;a href="https://github.com/Medo-ID/Movie_Recommendation_Program"&gt;Movie Recommendation Program&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;Conclusion&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;The Movie Recommendation Program is a simple yet powerful tool for movie enthusiasts. By leveraging Python, this program demonstrates how technology can enhance our entertainment experience. I hope you find this project useful and inspiring for your own coding journey. Happy coding!&lt;/p&gt;

</description>
      <category>python</category>
      <category>computerscience</category>
      <category>algorithms</category>
      <category>programming</category>
    </item>
    <item>
      <title>Unleash Your Inner Strategist: Build &amp; Play Connect Four in Python!</title>
      <dc:creator>MOHAMED IDAGHDOUR</dc:creator>
      <pubDate>Mon, 06 May 2024 16:42:18 +0000</pubDate>
      <link>https://dev.to/medo_id99/unleash-your-inner-strategist-build-play-connect-four-in-python-2058</link>
      <guid>https://dev.to/medo_id99/unleash-your-inner-strategist-build-play-connect-four-in-python-2058</guid>
      <description>&lt;p&gt;&lt;strong&gt;Introduction:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Do you crave a classic strategy game experience without the need for fancy hardware? Look no further! In this post, I'll introduce you to my Python program that lets you play the beloved Connect Four against a friend. This project stemmed from a desire to create a simple yet engaging game using Python's versatility. Whether you're a seasoned programmer or just starting your coding journey, this project is a perfect way to practice logic, decision-making, and core Python functionalities.&lt;/p&gt;

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

&lt;p&gt;&lt;strong&gt;Description of the Code:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The core functionality of this program relies on Python's built-in libraries like random and keyboard.  We use random to determine who goes first and keyboard allows players to interact with the game by entering their desired column for their move. The game board itself is represented as a 2D list, where each element represents a cell and can be empty or hold a player's symbol ('X' or 'O'). The program employs functions to handle various aspects of the game, including displaying the board, validating player moves, checking for a winner or a draw, and switching between players.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://github.com/Medo-ID/Connect_Four_Game-Terminal_Version"&gt;Connect_Four_Game-Terminal_Version - GitHub repository&lt;br&gt;
&lt;/a&gt;&lt;br&gt;
&lt;strong&gt;Conclusion:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;This Connect Four program in Python is a fun and educational project for anyone interested in exploring game development and strategic thinking.  Feel free to customize the code by adding features like difficulty levels, AI opponents, or visual enhancements.  Share your creations and challenge your friends to see who reigns supreme in the world of Connect Four!&lt;/p&gt;

</description>
      <category>python</category>
      <category>computerscience</category>
      <category>gamedev</category>
      <category>git</category>
    </item>
  </channel>
</rss>
