{"id":13827173,"url":"https://github.com/BenyaminZojaji/Python-Assignments","last_synced_at":"2025-07-09T03:31:09.346Z","repository":{"id":45249483,"uuid":"393271383","full_name":"BenyaminZojaji/Python-Assignments","owner":"BenyaminZojaji","description":"Python exercises.","archived":false,"fork":false,"pushed_at":"2021-12-28T09:14:10.000Z","size":13390,"stargazers_count":20,"open_issues_count":0,"forks_count":4,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-08-04T09:06:26.146Z","etag":null,"topics":["arcade","pyqt6","pyside6","python"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/BenyaminZojaji.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-08-06T06:09:05.000Z","updated_at":"2024-03-06T09:44:46.000Z","dependencies_parsed_at":"2022-09-17T18:00:20.163Z","dependency_job_id":null,"html_url":"https://github.com/BenyaminZojaji/Python-Assignments","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BenyaminZojaji%2FPython-Assignments","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BenyaminZojaji%2FPython-Assignments/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BenyaminZojaji%2FPython-Assignments/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BenyaminZojaji%2FPython-Assignments/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BenyaminZojaji","download_url":"https://codeload.github.com/BenyaminZojaji/Python-Assignments/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225481272,"owners_count":17481172,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["arcade","pyqt6","pyside6","python"],"created_at":"2024-08-04T09:01:51.517Z","updated_at":"2024-11-20T06:31:03.144Z","avatar_url":"https://github.com/BenyaminZojaji.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"# Python-Assignments\n\n\n## Assignment 11\n- **Snake**: Simple snake in Python using Arcade library.\n  \u003e ![snake](https://user-images.githubusercontent.com/77120507/132943026-db97476e-c84d-4034-b14b-6821727658cc.png)\n- **Complex loops**: Draw red and blue diamond in Python using Arcade library.\n  \u003e ![complex loops](https://user-images.githubusercontent.com/77120507/132943114-41a644e1-865c-4ffe-964e-3681c0a4a668.png)\n## Assignment 12\n**Silver Spacecraft**\n- Silver Spacecraft in **Python** using **Arcade** library.\n  - [x] when bullet hit enemy spacecraft they will explode.\n  - [x] enemy will come between 2-6 sec randomly.\n  - [x] when enemy or list disappear from the screen their object will be remove.\n  - [x] show 3 heart in bottom left.\n  - [x] show score in bottom right.\n  - [x] show Game over when user lose all their health.\n  - [x] play sound when shooting.\n  - [x] play sound when enemy spacecraft explode.\n- space craft view \n  \u003e ![Silver Spacecraft](https://user-images.githubusercontent.com/77120507/133397753-32b502ed-78c4-45ac-bb44-f09c2597d0e5.png)\n## Assignment 13\n## Assignment 14\n- **T-rex runner**\n  - [x] Jump over cacti\n  - [x] Bending in the face of birds\n  - [x] jump sound\n  - [x] Day and Night mode\n  - [x] Speed up the game over time\n  - [x] The current score is displayed next to the highest score\n- Trex view 1\n  \u003e ![Screenshot (486)](https://user-images.githubusercontent.com/77120507/134362351-3ae93ba5-b88b-4003-a292-37731621bb30.png)\n- Trex view 2\n  \u003e ![Screenshot (492)](https://user-images.githubusercontent.com/77120507/134362477-bf5d6f8c-c886-4c80-9d0e-2e5e80f1b5d1.png)\n## Assignment 15\n## Assignment 16\n- **Calculator**\n- Simple GUI calculator in **Python** using **pyqt6**\n- feautures:\n  - [x] +  -  *  /\n  - [x] sin, cos, tan, cot\n  - [x] log, sqrt\n- view:\n  \u003e ![calculator view](https://user-images.githubusercontent.com/77120507/135714897-cba6ec69-a3e1-4105-aee2-5ee9d70dc8c9.png)\n## Assignment 17\n#### Tik Tok Toe\n- Tik Tok Toe game in **Python** using PySide6.\n- features:\n  - [x] Single player(with AI) and two player\n  - [x] Scoreboard\n  - [x] About button\n- view:\n  \u003e ![TikTokToe](https://user-images.githubusercontent.com/77120507/136216879-d66e160e-823f-4f67-b4e4-93a4ba6faacc.png)\n\n## Assignment 18\n#### Sudoku\n- Sudoku game written in **Python** using **Pyside6**.\n- features:\n  - [x] check sudoku while you are playing it.\n  - [x] dark mode on/off\n  - [x] text align\n  - [x] error handling when data missing\n  - [x] make main numbers read-only \n  - [x] win check\n- views:\n  \u003e ![sudoku1](https://user-images.githubusercontent.com/77120507/137157822-c7e2eec3-73a4-450a-b089-4bba6aeb0785.png)\n  \u003e ![sudoku2](https://user-images.githubusercontent.com/77120507/137157874-f0c4a332-87ac-4a70-9731-b1356f20ba96.png)\n  \u003e ![sudoku3](https://user-images.githubusercontent.com/77120507/137157902-5c2b2055-d6e0-4ef2-931c-bd69eec62e54.png)\n\n#### Unit Converter\n- Simple GUI unit converter written in **Python** using **Pyside** and **unit_converter**.\n- features:\n  - [x] Support Length - Mass - Value - Temperature\n- view:\n  \u003e ![unitConverter](https://user-images.githubusercontent.com/77120507/137158223-108c61d7-77e5-43b6-a676-0ebbbbe1eb4c.png)\n\n#### Guess the number\n- A simple game written in **Python** using **PySide6**.\n- view:\n  \u003e ![guessTheNumber](https://user-images.githubusercontent.com/77120507/136650010-5bcb6f2e-d9ab-42f9-8f6c-90eebf441af6.png)\n#### Password Generator\n- Password Generator app written in **Python** using **PySide6**.\n- features:\n  - [x] Three modes for generating passwords. weak, normal and unbreakable\n- view:\n  \u003e ![passwordGenerator](https://user-images.githubusercontent.com/77120507/136650056-ff51b41d-9b22-4e60-98ab-54688f80f575.png)\n#### Translator \n- Translator app written in **Python** using **PySide6**.\n- features:\n  - [x] Support En to Fa and Fa to en\n- views:\n  \u003e ![Translator_fig1](https://user-images.githubusercontent.com/77120507/136650111-d666bc12-aeee-4901-b39b-6a7372107c52.png)\n  \u003e ![Translator_fig2](https://user-images.githubusercontent.com/77120507/136650114-b88cedfa-d0a8-4695-985f-e969478df27b.png)\n\n## Assignment 20\n#### To-Do list\n- GUI to-do list written in **python** designed with **pyqt** and using **sqlite** database.\n- feautures:\n  - [x] Detail button with unique window.\n  - [x] Delete task.\n  - [x] Add new task.\n  - [x] Pin important tasks for higher priority.\n  - [x] Designed with 2 tabs for better user experience, all-tasks and Done tasks.\n- views:\n  \u003e ![todolist1](https://user-images.githubusercontent.com/77120507/139032396-c6a5e1d3-2abb-48a0-89c8-099972497726.png)\n  \u003e ![todolist2](https://user-images.githubusercontent.com/77120507/139032429-4027b4c2-b2a2-4699-8a83-05e104f6c022.png)\n  \u003e ![todolist3](https://user-images.githubusercontent.com/77120507/139032452-78f46f5d-07c1-41d4-9573-d02cc2676ef4.png)\n  \n#### AI Snake\n- A clever snake that can find the apple!\n- Written in **python** using **arcade** library.\n- view:\n  \u003e ![AIsnake](https://user-images.githubusercontent.com/77120507/139032617-a3edb07e-02d0-4499-a553-f89e5f0b79ac.png)\n\n#### Telegram Bot\n- a telegram bot written in **python** using **py-telegrambot-api**.\n- New feature:\n  - added /note to bot commands.\n\n## Assignment 21\n#### Checkered Board\n- Create a chess table using **numpy** and **opencv**.\n- view:\n  - ![result_1](https://user-images.githubusercontent.com/77120507/139427129-565d93a9-97eb-44bb-b261-0a3c5d1a6164.png)\n#### Color Correction\n- Reverse black and white colors with opencv.\n- views:\n  - ![result_2_1](https://user-images.githubusercontent.com/77120507/139427174-2e5f3403-fae6-44b4-b560-76f76b8014f7.png)\n  - ![result_2_2](https://user-images.githubusercontent.com/77120507/139427186-fbc246f3-1e6a-4648-9e0e-cdcccaff4c27.png)\n#### Rotate Image\n- Rotate an image with for loop in opencv(without cv2.rotate)\n- view:\n  - ![result_3](https://user-images.githubusercontent.com/77120507/139427258-d31aafcc-0fc7-4706-8334-c9a011ab0ca1.png)\n#### Color Separation\n- Separate object of black-whte image using opencv and threshold method.\n- view:\n  - ![result_4](https://user-images.githubusercontent.com/77120507/139429837-e7538f85-af2c-4f25-9ed3-7dd9a28d2fed.png)\n#### Corner Line\n- Create a black line in top left corner.(without opencv built-in methods)\n- view:\n  - ![result_5](https://user-images.githubusercontent.com/77120507/139429884-e7c9eb8a-a124-4232-ab79-b4e3a5f42468.png)\n#### Gradient\n- Create an image with whito-black gradient using **open-cv** and **numpy**.\n- view:\n  - ![result_6](https://user-images.githubusercontent.com/77120507/139590566-7a676885-cb49-43a3-89d1-fa3d02c9386a.png)\n#### Letter B\n- Design letter B using **numpy** and **open-cv**.\n- view:\n  - ![result_7](https://user-images.githubusercontent.com/77120507/139590558-05787f52-7c96-4669-ad1a-4a1050380378.png)\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FBenyaminZojaji%2FPython-Assignments","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FBenyaminZojaji%2FPython-Assignments","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FBenyaminZojaji%2FPython-Assignments/lists"}