Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[pull] master from avinashkranjan:master #21

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
pull merged 13 commits into Uncodedtech:master from avinashkranjan:master
Oct 12, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
13 commits
Select commit Hold shift + click to select a range
28e67ff
chat bot code added
varshith-Git Aug 20, 2021
d573698
Merge pull request #1159 from varshith-Git/chat_bot
avinashkranjan Aug 25, 2021
57e31c3
Create README.md
naazkakria Aug 27, 2021
b080a6b
Improved face detection code added
naazkakria Aug 27, 2021
5b0193b
Update README.md
naazkakria Aug 27, 2021
167bae5
Added files to India-state-guessing-game
Souhardya-Ganguly Aug 28, 2021
8781335
Merge pull request #1161 from naazkakria/master
avinashkranjan Aug 30, 2021
fb160f1
Create Full_map.PNG
Souhardya-Ganguly Aug 31, 2021
f66a591
Bump pillow from 8.2.0 to 8.3.2 in /Zoom-Auto-Attend
dependabot[bot] Sep 8, 2021
bb6c2e0
Bump pillow from 8.2.0 to 8.3.2 in /Text-Extract-Images
dependabot[bot] Sep 8, 2021
43a9b3d
Merge pull request #1164 from avinashkranjan/dependabot/pip/Zoom-Auto...
avinashkranjan Sep 12, 2021
1e02245
Merge pull request #1165 from avinashkranjan/dependabot/pip/Text-Extr...
avinashkranjan Sep 12, 2021
9962dd7
Merge pull request #1163 from Souhardya-Ganguly/add-india-state-guess...
avinashkranjan Sep 12, 2021
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
View file Open in desktop
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
View file Open in desktop
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
View file Open in desktop
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()
View file Open in desktop
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
View file Open in desktop
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
[フレーム]
View file Open in desktop
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
[フレーム]
View file Open in desktop
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
View file Open in desktop
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
View file Open in desktop
Binary file not shown.
2 changes: 2 additions & 0 deletions India-state-guessing-game/states_to_learn.csv
View file Open in desktop
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
View file Open in desktop
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
View file Open in desktop
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
View file Open in desktop
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

AltStyle によって変換されたページ (->オリジナル) /