From d9347d770069c968ad6135e0d82a9d5fc0e80b92 Mon Sep 17 00:00:00 2001 From: Chandra Bose <70272542+chandrabosep@users.noreply.github.com> Date: Thu, 18 Nov 2021 10:55:42 +0530 Subject: [PATCH 1/4] added READme --- projects/GUI Rock-Paper-Scissors Game/README.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 projects/GUI Rock-Paper-Scissors Game/README.md diff --git a/projects/GUI Rock-Paper-Scissors Game/README.md b/projects/GUI Rock-Paper-Scissors Game/README.md new file mode 100644 index 00000000..3e53914d --- /dev/null +++ b/projects/GUI Rock-Paper-Scissors Game/README.md @@ -0,0 +1,13 @@ +

Rock Paper Scissors Game GUI

+ +

Import Required Library

+ +

Select Rock Paper or Scissors and click on spin the top label shows whos turn it is and botton label shows who won either computer or you.

+ +![image](https://user-images.githubusercontent.com/70272542/142356847-f734c448-b4b3-407a-9783-fd8af4ecb4e2.png) +
+

And that's it. Congratulations You have built your First Rock-Paper-Scissors GUI Game + in python👏👏

From e738717502f62d606997586b7e6bf355f9247bf7 Mon Sep 17 00:00:00 2001 From: Chandra Bose <70272542+chandrabosep@users.noreply.github.com> Date: Thu, 18 Nov 2021 10:56:32 +0530 Subject: [PATCH 2/4] added READme --- projects/Alarm clock/README.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 projects/Alarm clock/README.md diff --git a/projects/Alarm clock/README.md b/projects/Alarm clock/README.md new file mode 100644 index 00000000..d1304321 --- /dev/null +++ b/projects/Alarm clock/README.md @@ -0,0 +1,15 @@ +

Alarm Clock

+ +

Import Required Library

+ +
+

Select your time and and click set alarm

+ +![image](https://user-images.githubusercontent.com/70272542/142355637-6bda8e40-02bf-4bb6-955c-d7d7def5fc55.png) + +

And that's it. Congratulations You have built your First Alarm clock in python👏👏

From ec50d08716bc60be68f58d9d0e2856019e2d9a94 Mon Sep 17 00:00:00 2001 From: Chandra Bose <70272542+chandrabosep@users.noreply.github.com> Date: Tue, 23 Nov 2021 17:58:38 +0530 Subject: [PATCH 3/4] Update README.md --- projects/Alarm clock/README.md | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/projects/Alarm clock/README.md b/projects/Alarm clock/README.md index d1304321..b0e6eaab 100644 --- a/projects/Alarm clock/README.md +++ b/projects/Alarm clock/README.md @@ -1,14 +1,7 @@

Alarm Clock

-

Import Required Library

- -
-

Select your time and and click set alarm

+ +

Select your time and and click set alarm

![image](https://user-images.githubusercontent.com/70272542/142355637-6bda8e40-02bf-4bb6-955c-d7d7def5fc55.png) From 7d6a05ae62099888946f52168bab13db2db6b768 Mon Sep 17 00:00:00 2001 From: chandra bose Date: Sat, 27 Nov 2021 23:14:09 +0530 Subject: [PATCH 4/4] Count Down Timer --- .../Count Down Timer GUI.py | 44 +++++++++++++++++++ projects/GUI Count Down Timer/README.md | 14 ++++++ 2 files changed, 58 insertions(+) create mode 100644 projects/GUI Count Down Timer/Count Down Timer GUI.py create mode 100644 projects/GUI Count Down Timer/README.md diff --git a/projects/GUI Count Down Timer/Count Down Timer GUI.py b/projects/GUI Count Down Timer/Count Down Timer GUI.py new file mode 100644 index 00000000..f4bb64c6 --- /dev/null +++ b/projects/GUI Count Down Timer/Count Down Timer GUI.py @@ -0,0 +1,44 @@ +from tkinter import * + +t = 0 + + +def set(): + global t + t = t + int(entry.get()) + return t + + +def start(): + global t + if t > 0: + lbl.config(text=t) + t = t - 1 + lbl.after(1000,start) + return t + elif t == 0: + lbl.config(text="go") + + +root = Tk() + +root.geometry("380x350") +root.config(bg="black") + +Label(root, text="Count Down Timer", font=("bell mt", 30),bg="black",fg="#00ff00").grid(row=0, column=0, padx=20) + +Label(root,text="Select the seconds",font=("bell mt",20),bg="black",fg="#00ff00").grid(row=1,column=0,padx=20) + +entry = Entry(root, font=("castellar", 15),fg="black") +entry.grid(row=2, column=0, padx=20,pady=15) + +b1 = Button(root, text='Set Timer', font=("bell mt", 20),bg="black",fg="#00ff00",width=10,height=1, command=set) +b1.grid(row=3, column=0, padx=20,pady=10) + +b2 = Button(root, text='Start Timer', font=("bell mt", 20),bg="black",fg="#00ff00",width=10,height=1, command=start) +b2.grid(row=4, column=0, padx=20,pady=10) + +lbl = Label(root, text="", font=("algerian", 30),fg="#00ff00",bg="black") +lbl.grid(row=5, column=0, padx=20) + +root.mainloop() diff --git a/projects/GUI Count Down Timer/README.md b/projects/GUI Count Down Timer/README.md new file mode 100644 index 00000000..7865ff74 --- /dev/null +++ b/projects/GUI Count Down Timer/README.md @@ -0,0 +1,14 @@ +

Count Down Timer

+ +
    +
  1. Enter the seconds for the countdown
  2. +
  3. Click on set time for setting the timer
  4. +
  5. Then click start
  6. +
      +

      + +![image](https://user-images.githubusercontent.com/70272542/143604324-b1a3d224-db09-498f-aa50-1154c05d849e.png) + + +![image](https://user-images.githubusercontent.com/70272542/143605022-c3468f86-9548-4780-bff0-18478817ddc9.png) +