This repository contains all the tasks and projects for my internship at CODSOFT
Description:
A simple chatbot that responds to user messages based on predefined rules. Built using Python and Flask.
Files included:
main.py— Flask backendbot.py— Bot logic and rule handlingrules.json— Predefined chatbot rulesindex.html— Frontend pagestyle.css— Styling for the chat page
How to run:
- Install dependencies:
pip install flask - Run the server:
python main.py - Open the browser at
http://127.0.0.1:5000/
Description:
An interactive Tic-Tac-Toe game where a human player can play against an AI opponent. The AI uses a minimax algorithm to make it unbeatable. Built using Python and Tkinter for the GUI.
Files included:
main.py— Launches the game and GUIgui/tic_tac_toe_gui.py— GUI logic and game handlingai_player.py— AI logic and move calculations
How to run:
- Install dependencies: pip install tkinter (Tkinter usually comes preinstalled with Python)
- Run the game: python main.py
- Play the game using the GUI window that appears.
Description:
A recommendation system that suggests movies based on user input using similarity metrics. Includes a GUI for selecting movies and viewing recommendations. Built using Python, Pandas, and Tkinter.
Files included:
src/gui.py— GUI for interacting with the systemsrc/recommender.py— Recommendation logicata/movies.csv— Dataset of movies
How to run:
- Install dependencies.
- Run the GUI: python src/gui.py
- Use the interface to search for a movie and get recommendations.