Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/BenyaminZojaji/Python-Assignments

Python exercises.
https://github.com/BenyaminZojaji/Python-Assignments

arcade pyqt6 pyside6 python

Last synced: about 2 months ago
JSON representation

Python exercises.

Awesome Lists containing this project

README

        

# Python-Assignments

## Assignment 11
- **Snake**: Simple snake in Python using Arcade library.
> ![snake](https://user-images.githubusercontent.com/77120507/132943026-db97476e-c84d-4034-b14b-6821727658cc.png)
- **Complex loops**: Draw red and blue diamond in Python using Arcade library.
> ![complex loops](https://user-images.githubusercontent.com/77120507/132943114-41a644e1-865c-4ffe-964e-3681c0a4a668.png)
## Assignment 12
**Silver Spacecraft**
- Silver Spacecraft in **Python** using **Arcade** library.
- [x] when bullet hit enemy spacecraft they will explode.
- [x] enemy will come between 2-6 sec randomly.
- [x] when enemy or list disappear from the screen their object will be remove.
- [x] show 3 heart in bottom left.
- [x] show score in bottom right.
- [x] show Game over when user lose all their health.
- [x] play sound when shooting.
- [x] play sound when enemy spacecraft explode.
- space craft view
> ![Silver Spacecraft](https://user-images.githubusercontent.com/77120507/133397753-32b502ed-78c4-45ac-bb44-f09c2597d0e5.png)
## Assignment 13
## Assignment 14
- **T-rex runner**
- [x] Jump over cacti
- [x] Bending in the face of birds
- [x] jump sound
- [x] Day and Night mode
- [x] Speed up the game over time
- [x] The current score is displayed next to the highest score
- Trex view 1
> ![Screenshot (486)](https://user-images.githubusercontent.com/77120507/134362351-3ae93ba5-b88b-4003-a292-37731621bb30.png)
- Trex view 2
> ![Screenshot (492)](https://user-images.githubusercontent.com/77120507/134362477-bf5d6f8c-c886-4c80-9d0e-2e5e80f1b5d1.png)
## Assignment 15
## Assignment 16
- **Calculator**
- Simple GUI calculator in **Python** using **pyqt6**
- feautures:
- [x] + - * /
- [x] sin, cos, tan, cot
- [x] log, sqrt
- view:
> ![calculator view](https://user-images.githubusercontent.com/77120507/135714897-cba6ec69-a3e1-4105-aee2-5ee9d70dc8c9.png)
## Assignment 17
#### Tik Tok Toe
- Tik Tok Toe game in **Python** using PySide6.
- features:
- [x] Single player(with AI) and two player
- [x] Scoreboard
- [x] About button
- view:
> ![TikTokToe](https://user-images.githubusercontent.com/77120507/136216879-d66e160e-823f-4f67-b4e4-93a4ba6faacc.png)

## Assignment 18
#### Sudoku
- Sudoku game written in **Python** using **Pyside6**.
- features:
- [x] check sudoku while you are playing it.
- [x] dark mode on/off
- [x] text align
- [x] error handling when data missing
- [x] make main numbers read-only
- [x] win check
- views:
> ![sudoku1](https://user-images.githubusercontent.com/77120507/137157822-c7e2eec3-73a4-450a-b089-4bba6aeb0785.png)
> ![sudoku2](https://user-images.githubusercontent.com/77120507/137157874-f0c4a332-87ac-4a70-9731-b1356f20ba96.png)
> ![sudoku3](https://user-images.githubusercontent.com/77120507/137157902-5c2b2055-d6e0-4ef2-931c-bd69eec62e54.png)

#### Unit Converter
- Simple GUI unit converter written in **Python** using **Pyside** and **unit_converter**.
- features:
- [x] Support Length - Mass - Value - Temperature
- view:
> ![unitConverter](https://user-images.githubusercontent.com/77120507/137158223-108c61d7-77e5-43b6-a676-0ebbbbe1eb4c.png)

#### Guess the number
- A simple game written in **Python** using **PySide6**.
- view:
> ![guessTheNumber](https://user-images.githubusercontent.com/77120507/136650010-5bcb6f2e-d9ab-42f9-8f6c-90eebf441af6.png)
#### Password Generator
- Password Generator app written in **Python** using **PySide6**.
- features:
- [x] Three modes for generating passwords. weak, normal and unbreakable
- view:
> ![passwordGenerator](https://user-images.githubusercontent.com/77120507/136650056-ff51b41d-9b22-4e60-98ab-54688f80f575.png)
#### Translator
- Translator app written in **Python** using **PySide6**.
- features:
- [x] Support En to Fa and Fa to en
- views:
> ![Translator_fig1](https://user-images.githubusercontent.com/77120507/136650111-d666bc12-aeee-4901-b39b-6a7372107c52.png)
> ![Translator_fig2](https://user-images.githubusercontent.com/77120507/136650114-b88cedfa-d0a8-4695-985f-e969478df27b.png)

## Assignment 20
#### To-Do list
- GUI to-do list written in **python** designed with **pyqt** and using **sqlite** database.
- feautures:
- [x] Detail button with unique window.
- [x] Delete task.
- [x] Add new task.
- [x] Pin important tasks for higher priority.
- [x] Designed with 2 tabs for better user experience, all-tasks and Done tasks.
- views:
> ![todolist1](https://user-images.githubusercontent.com/77120507/139032396-c6a5e1d3-2abb-48a0-89c8-099972497726.png)
> ![todolist2](https://user-images.githubusercontent.com/77120507/139032429-4027b4c2-b2a2-4699-8a83-05e104f6c022.png)
> ![todolist3](https://user-images.githubusercontent.com/77120507/139032452-78f46f5d-07c1-41d4-9573-d02cc2676ef4.png)

#### AI Snake
- A clever snake that can find the apple!
- Written in **python** using **arcade** library.
- view:
> ![AIsnake](https://user-images.githubusercontent.com/77120507/139032617-a3edb07e-02d0-4499-a553-f89e5f0b79ac.png)

#### Telegram Bot
- a telegram bot written in **python** using **py-telegrambot-api**.
- New feature:
- added /note to bot commands.

## Assignment 21
#### Checkered Board
- Create a chess table using **numpy** and **opencv**.
- view:
- ![result_1](https://user-images.githubusercontent.com/77120507/139427129-565d93a9-97eb-44bb-b261-0a3c5d1a6164.png)
#### Color Correction
- Reverse black and white colors with opencv.
- views:
- ![result_2_1](https://user-images.githubusercontent.com/77120507/139427174-2e5f3403-fae6-44b4-b560-76f76b8014f7.png)
- ![result_2_2](https://user-images.githubusercontent.com/77120507/139427186-fbc246f3-1e6a-4648-9e0e-cdcccaff4c27.png)
#### Rotate Image
- Rotate an image with for loop in opencv(without cv2.rotate)
- view:
- ![result_3](https://user-images.githubusercontent.com/77120507/139427258-d31aafcc-0fc7-4706-8334-c9a011ab0ca1.png)
#### Color Separation
- Separate object of black-whte image using opencv and threshold method.
- view:
- ![result_4](https://user-images.githubusercontent.com/77120507/139429837-e7538f85-af2c-4f25-9ed3-7dd9a28d2fed.png)
#### Corner Line
- Create a black line in top left corner.(without opencv built-in methods)
- view:
- ![result_5](https://user-images.githubusercontent.com/77120507/139429884-e7c9eb8a-a124-4232-ab79-b4e3a5f42468.png)
#### Gradient
- Create an image with whito-black gradient using **open-cv** and **numpy**.
- view:
- ![result_6](https://user-images.githubusercontent.com/77120507/139590566-7a676885-cb49-43a3-89d1-fa3d02c9386a.png)
#### Letter B
- Design letter B using **numpy** and **open-cv**.
- view:
- ![result_7](https://user-images.githubusercontent.com/77120507/139590558-05787f52-7c96-4669-ad1a-4a1050380378.png)