How vaishnavik0908-cell/codsoft_tasksno works
This repository is a collection of three small terminal applications: StudentBuddy, a Tic-Tac-Toe game with a minimax opponent, and a movie recommender. The main documented workflow is entering a question and receiving a rule-matched chatbot response; the other scripts provide separate play and recommendation workflows. The source excerpts show these applications are self-contained, with no shared runtime services. The recommendation script exists both at the root and under Task-3; both paths implement the same standalone workflow. Evidence is limited to the supplied excerpts and README.
Main entry points: tic_tac_toe.py Game loop · chatbot.py Chat loop and rules · Task-3-Recommendation-System/recommendation-system.py Movie lookup and output · recommendation-system.py Movie lookup and output
Components 13
StudentBuddy Chatbot
- Chat loop and rules
chatbot.py
Tic-Tac-Toe AI
- Game loop
Task-2-Tic-Tac-Toe-AI /tic_tac_toe.py - Board display
Task-2-Tic-Tac-Toe-AI /tic_tac_toe.py - Player move input
Task-2-Tic-Tac-Toe-AI /tic_tac_toe.py - AI move selection
Task-2-Tic-Tac-Toe-AI /tic_tac_toe.py - Minimax search
Task-2-Tic-Tac-Toe-AI /tic_tac_toe.py - Win check
Task-2-Tic-Tac-Toe-AI /tic_tac_toe.py - Draw check
Task-2-Tic-Tac-Toe-AI /tic_tac_toe.py
Movie Recommender
- Movie lookup and output
Task-3-Recommendation-System/recommendation-system.py - Movie lookup and output
recommendation-system.py
Other components
- Terminal user
- Human player
- Terminal user
Connections 15
- Terminal user → Chat loop and rules: enters questions
chatbot.py - Chat loop and rules → Terminal user: prints replies
chatbot.py - Human player → Game loop: starts game
Task-2-Tic-Tac-Toe-AI /tic_tac_toe.py - Game loop → Board display: renders board
Task-2-Tic-Tac-Toe-AI /tic_tac_toe.py - Game loop → Player move input: requests move
Task-2-Tic-Tac-Toe-AI /tic_tac_toe.py - Game loop → AI move selection: requests AI move
Task-2-Tic-Tac-Toe-AI /tic_tac_toe.py - Game loop → Win check: checks winner
Task-2-Tic-Tac-Toe-AI /tic_tac_toe.py - Game loop → Draw check: checks draw
Task-2-Tic-Tac-Toe-AI /tic_tac_toe.py - AI move selection → Minimax search: scores moves
Task-2-Tic-Tac-Toe-AI /tic_tac_toe.py - Minimax search → Win check: tests outcomes
Task-2-Tic-Tac-Toe-AI /tic_tac_toe.py - Minimax search → Draw check: tests draws
Task-2-Tic-Tac-Toe-AI /tic_tac_toe.py - Terminal user → Movie lookup and output: enters movie
Task-3-Recommendation-System/recommendation-system.py - Movie lookup and output → Terminal user: prints suggestions
Task-3-Recommendation-System/recommendation-system.py - Terminal user → Movie lookup and output: enters movie
recommendation-system.py - Movie lookup and output → Terminal user: prints suggestions
recommendation-system.py