Skip to content
This repository has been archived by the owner on May 25, 2022. It is now read-only.

Added Readme #535

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions projects/Alarm clock/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<h1>Alarm Clock </h1>


<p> Select your time and and click set alarm </p>

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

<p>And that's it. Congratulations You have built your First Alarm clock in python👏👏</p>
44 changes: 44 additions & 0 deletions projects/GUI Count Down Timer/Count Down Timer GUI.py
Original file line number Diff line number Diff line change
@@ -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()
14 changes: 14 additions & 0 deletions projects/GUI Count Down Timer/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<h1 align="center">Count Down Timer</h1>

<ol>
<li>Enter the seconds for the countdown</li>
<li>Click on set time for setting the timer</li>
<li>Then click start</li>
<ol>
<br><br>

![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)

13 changes: 13 additions & 0 deletions projects/GUI Rock-Paper-Scissors Game/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<h1>Rock Paper Scissors Game GUI<h1>

<h3>Import Required Library<h3>
<ul>
<h5>from tkinter import *</h5>
<h5>from tkinter import ttk</h5>
<h5>from random import *</h5></ul>
<p>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. </p>

![image](https://user-images.githubusercontent.com/70272542/142356847-f734c448-b4b3-407a-9783-fd8af4ecb4e2.png)
<br>
<p>And that's it. Congratulations You have built your First Rock-Paper-Scissors GUI Game
in python👏👏</p>