Skip to content
Merged
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
23 changes: 23 additions & 0 deletions India-state-guessing-game/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# India-state-guessing-game

## Tutorial

This can be used as an educational app to help Indian middle school students check whether they remember the names of all the states of India
The game is played as follows:-
1. You will be given a blank state map of India

<img src = "https://github.com/Souhardya-Ganguly/India-state-guessing-game/blob/main/snapshots/Blank_map.PNG"></img>

4. You will need to guess all the 30 states of India

<img src = "https://github.com/Souhardya-Ganguly/India-state-guessing-game/blob/main/snapshots/Input%20terminal.PNG"></img>

6. Once you guess the name of the state correctly, the name appears on the state

<img src = "https://github.com/Souhardya-Ganguly/India-state-guessing-game/blob/main/snapshots/Input%20terminal.PNG"></img>

8. If you cannot guess all the states correctly, the states that you could not guess is stored in a seperate .csv file




47 changes: 47 additions & 0 deletions India-state-guessing-game/main.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
import turtle
import pandas as pd
screen = turtle.Screen()
screen.title("Indian states game")
#screen.setup(width=500, height=500)
image = "9671e6ba88f7b2ed4bea5941ffebf8ee (1).gif"

#def get_mouse_click_coor(x,y):
# print(x,y)

#turtle.onscreenclick(get_mouse_click_coor)

data = pd.read_csv("states.csv")
#print(data)
all_states = data['States'].to_list()
#print(all_states)
guessed_states = []

screen.addshape(image)
turtle.shape(image)

#answer_state = screen.textinput(title= "Guess the state", prompt= "Name a state!")

while len(guessed_states) < 30:
answer_state = screen.textinput(title=f"{len(guessed_states)}/28 States Correct",
prompt="What's another state's name?").title()
if answer_state == "Exit":
missing_states = []
for state in all_states:
if state not in guessed_states:
missing_states.append(state)
new_data = pd.DataFrame(missing_states)
new_data.to_csv("states_to_learn.csv")
break
if answer_state in all_states:
guessed_states.append(answer_state)
t = turtle.Turtle()
t.hideturtle()
t.penup()
state_data = data[data.States == answer_state]
t.goto(int(state_data.x), int(state_data.y))
t.write(answer_state)

#print(guessed_states)
#print(missing_states)

turtle.mainloop()
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added India-state-guessing-game/snapshots/Full_map.PNG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
30 changes: 30 additions & 0 deletions India-state-guessing-game/states.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
States,x,y
Andhra Pradesh,-73,-192
Arunachal Pradesh,285,127
Assam,240,72
Bihar,85,57
Chhattisgarh,-1,-28
Goa,-182,-184
Gujarat,-249,-13
Haryana,-132,139
Himachal Pradesh,-107,211
Jharkhand,55,8
Karnataka,-152,-205
Kerala,-129,-292
Madhya Pradesh,-96,-6
Maharashtra,-157,-89
Manipur,253,31
Meghalaya,193,53
Mizoram,228,-3
Nagaland,264,67
Odisha,55,-65
Punjab,-153,180
Rajasthan,-194,75
Sikkim,132,104
Tamil Nadu,-87,-280
Tripura,203,7
Uttar Pradesh,-34,88
Uttarakhand,-75,170
West Bengal,123,-14
Telengana,-71,-135
Jammu And Kashmir,-137,278
Binary file added India-state-guessing-game/states.xlsx
Binary file not shown.
2 changes: 2 additions & 0 deletions India-state-guessing-game/states_to_learn.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
,0
0,Chhattisgarh
2 changes: 1 addition & 1 deletion Text-Extract-Images/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
pytesseract==0.3.6
Pillow==8.2.0
Pillow==8.3.2
2 changes: 1 addition & 1 deletion Zoom-Auto-Attend/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ clint==0.5.1
MouseInfo==0.1.3
mypy-extensions==0.4.3
pathspec==0.8.0
Pillow==8.2.0
Pillow==8.3.2
prompt-toolkit==1.0.14
PyAutoGUI==0.9.50
pyfiglet==0.8.post1
Expand Down
17 changes: 17 additions & 0 deletions chat_bot/READ.ME.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@

Hi...I am varshith.
It is a chatbot purely written in python(3.5).
......................................................................................................................................................................
......................................................................................................................................................................
Requirements:

1. tkinter module.
2.python3.
3.some images that for "Exit","Refresh","Forward","Backward","logo" and "submit".
4.A text file you may insert your commands.

........................................................................................................................................................................
........................................................................................................................................................................

NOTE:
*Dont leave Spaces (Spaces are not allowed)while texting Message
Loading