# haroonhaider4414-create/python architecture

> Architecture diagram of the GitHub repository haroonhaider4414-create/python, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-14). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/haroonhaider4414-create/python
- Repository: https://github.com/haroonhaider4414-create/python

## Overview

This repository is a collection of seven independent, console-based Python exercises, not a single application. The user starts each script directly, supplies input, and receives printed output. The exercises cover two games, a to-do list, employee salary management, item-cost calculations, and basic string and numeric input. The game scripts also use Python’s random-number generator. There are no shared modules or persistent stores. Each script is represented as one component; the graph shows only its direct interaction with the user and, where applicable, randomness.

Main entry points: [`Rock, paper, scissors game.py`](https://github.com/haroonhaider4414-create/python/blob/main/Rock%2C%20paper%2C%20scissors%20game.py) (Rock Paper Scissors), [`guessing game.py`](https://github.com/haroonhaider4414-create/python/blob/main/guessing%20game.py) (Number Guessing), [`die rolling.py`](https://github.com/haroonhaider4414-create/python/blob/main/die%20rolling.py) (Dice Rolling), [`to do list.py`](https://github.com/haroonhaider4414-create/python/blob/main/to%20do%20list.py) (To-Do List)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_games["Games"]
  node_rps["Rock Paper Scissors"]
  node_guess["Number Guessing<br/>[guessing game.py]"]
  node_dice["Dice Rolling<br/>[die rolling.py]"]
end

subgraph group_management["List Management"]
  node_todo["To-Do List<br/>[to do list.py]"]
  node_employee["Salary Manager"]
end

subgraph group_basics["Input Exercises"]
  node_item["Item Cost Calculator"]
  node_profile["Name and Profile Exercise"]
end

node_user(("User"))
node_rng["Random Generator"]

node_user -->|"chooses mode"| node_rps
node_rps -->|"prints results"| node_user
node_rps -->|"draws choice"| node_rng
node_user -->|"enters guesses"| node_guess
node_guess -->|"prints hints"| node_user
node_guess -->|"draws secret"| node_rng
node_user -->|"requests rolls"| node_dice
node_dice -->|"prints totals"| node_user
node_dice -->|"draws dice"| node_rng
node_user -->|"manages tasks"| node_todo
node_todo -->|"shows progress"| node_user
node_user -->|"manages salaries"| node_employee
node_employee -->|"shows employees"| node_user
node_user -->|"enters item data"| node_item
node_item -->|"prints costs"| node_user
node_user -->|"enters profile data"| node_profile
node_profile -->|"prints summary"| node_user

click node_rps "https://github.com/haroonhaider4414-create/python/blob/main/Rock%2C%20paper%2C%20scissors%20game.py"
click node_guess "https://github.com/haroonhaider4414-create/python/blob/main/guessing%20game.py"
click node_dice "https://github.com/haroonhaider4414-create/python/blob/main/die%20rolling.py"
click node_todo "https://github.com/haroonhaider4414-create/python/blob/main/to%20do%20list.py"
click node_employee "https://github.com/haroonhaider4414-create/python/blob/main/employee%20and%20salary%20management.py"
click node_item "https://github.com/haroonhaider4414-create/python/blob/main/004809%20Syed%20Haroon%20Haider%20(lab%20tas%2011).py"
click node_profile "https://github.com/haroonhaider4414-create/python/blob/main/004809%20Syed%20Haroon%20Haider(lab%20task12).py"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_rps,node_guess,node_dice,node_user toneBlue
class node_todo,node_employee toneAmber
class node_item,node_profile toneMint
class node_rng toneIndigo
```

## Components

### Games

- [Rock Paper Scissors](https://github.com/haroonhaider4414-create/python/blob/main/Rock%2C%20paper%2C%20scissors%20game.py): `Rock, paper, scissors game.py`
- [Number Guessing](https://github.com/haroonhaider4414-create/python/blob/main/guessing%20game.py): `guessing game.py`
- [Dice Rolling](https://github.com/haroonhaider4414-create/python/blob/main/die%20rolling.py): `die rolling.py`

### List Management

- [To-Do List](https://github.com/haroonhaider4414-create/python/blob/main/to%20do%20list.py): `to do list.py`
- [Salary Manager](https://github.com/haroonhaider4414-create/python/blob/main/employee%20and%20salary%20management.py): `employee and salary management.py`

### Input Exercises

- [Item Cost Calculator](https://github.com/haroonhaider4414-create/python/blob/main/004809%20Syed%20Haroon%20Haider%20(lab%20tas%2011).py): `004809 Syed Haroon Haider (lab tas 11).py`
- [Name and Profile Exercise](https://github.com/haroonhaider4414-create/python/blob/main/004809%20Syed%20Haroon%20Haider(lab%20task12).py): `004809 Syed Haroon Haider(lab task12).py`

### Other components

- **User**
- **Random Generator**

## Connections

- User → Rock Paper Scissors: chooses mode (evidence: `Rock, paper, scissors game.py`)
- Rock Paper Scissors → User: prints results (evidence: `Rock, paper, scissors game.py`)
- Rock Paper Scissors → Random Generator: draws choice (evidence: `Rock, paper, scissors game.py`)
- User → Number Guessing: enters guesses (evidence: `guessing game.py`)
- Number Guessing → User: prints hints (evidence: `guessing game.py`)
- Number Guessing → Random Generator: draws secret (evidence: `guessing game.py`)
- User → Dice Rolling: requests rolls (evidence: `die rolling.py`)
- Dice Rolling → User: prints totals (evidence: `die rolling.py`)
- Dice Rolling → Random Generator: draws dice (evidence: `die rolling.py`)
- User → To-Do List: manages tasks (evidence: `to do list.py`)
- To-Do List → User: shows progress (evidence: `to do list.py`)
- User → Salary Manager: manages salaries (evidence: `employee and salary management.py`)
- Salary Manager → User: shows employees (evidence: `employee and salary management.py`)
- User → Item Cost Calculator: enters item data (evidence: `004809 Syed Haroon Haider (lab tas 11).py`)
- Item Cost Calculator → User: prints costs (evidence: `004809 Syed Haroon Haider (lab tas 11).py`)
- User → Name and Profile Exercise: enters profile data (evidence: `004809 Syed Haroon Haider(lab task12).py`)
- Name and Profile Exercise → User: prints summary (evidence: `004809 Syed Haroon Haider(lab task12).py`)
