Skip to content

Instantly share code, notes, and snippets.

View Jithender5913's full-sized avatar

Sai Jithender Reddy Alla Jithender5913

View GitHub Profile
@Jithender5913
Jithender5913 / main.py
Created January 27, 2022 02:49
USA States guess game using python pandas
import turtle
import pandas
screen = turtle.Screen()
screen.title("U.S.A States game")
image = "blank_states_img.gif"
screen.addshape(image)
turtle.shape(image)
@Jithender5913
Jithender5913 / main.py
Last active January 22, 2022 08:58
Turtle Crossing Game using Python OOP
import time
from turtle import Screen
from player import Player
from car_manager import CarManager
from scoreboard import Scoreboard
screen = Screen()
screen.setup(width=600, height=600)
screen.tracer(0)
@Jithender5913
Jithender5913 / main.py
Last active February 16, 2025 06:58
Pong Game using Python OOP
from turtle import Screen
from paddle import Paddle
from ball import Ball
import time
from scoreboard import ScoreBoard
# Step 1 - Create the screen
screen = Screen()
@Jithender5913
Jithender5913 / main.py
Last active January 15, 2022 08:41
Snake Game using Python OOP
from snake import Snake
import time
from turtle import Screen
from food import Food
from scoreboard import ScoreBoard
screen = Screen()
screen.setup(width=600, height=600)
screen.bgcolor("black")
screen.title("Snake Game")
@Jithender5913
Jithender5913 / main.py
Last active December 29, 2021 03:56
Quiz Project Using Python OOP
from question_model import Question
from data import question_data
from quiz_brain import QuizBrain
question_bank = []
for question in question_data:
question_text = question["text"]
question_answer = question["answer"]
new_question = Question(q_text=question_text, q_answer=question_answer)
question_bank.append(new_question)
@Jithender5913
Jithender5913 / main.py
Last active June 8, 2026 19:30
Coffee Machine project using Python
MENU = {
"espresso": {
"ingredients": {
"water": 50,
"coffee": 18,
},
"cost": 1.5,
},
"latte": {
"ingredients": {
@Jithender5913
Jithender5913 / main.py
Last active December 22, 2021 13:49
Higher Lower game project using python
# step 1 - import logos and random
import random
logo = """
__ ___ __
/ / / (_)___ _/ /_ ___ _____
/ /_/ / / __ `/ __ \/ _ \/ ___/
/ __ / / /_/ / / / / __/ /
/_/ ///_/\__, /_/ /_/\___/_/
@Jithender5913
Jithender5913 / main.py
Last active December 20, 2021 09:25
Number Guessing game using python
logo = "welcome to number guessing game"
print(logo)
import random
computer_choice = random.randint(1, 101)
# print(f"psst! computer's number is {computer_choice}") to test code
# Include an ASCII art logo.
@Jithender5913
Jithender5913 / main.py
Created December 19, 2021 15:36
The Blackjack Capstone project using python
import random
logo = """
.------. _ _ _ _ _
|A_ _ |. | | | | | | (_) | |
|( \/ ).-----. | |__ | | __ _ ___| | ___ __ _ ___| | __
| \ /|K /\ | | '_ \| |/ _` |/ __| |/ / |/ _` |/ __| |/ /
| \/ | / \ | | |_) | | (_| | (__| <| | (_| | (__| <
`-----| \ / | |_.__/|_|\__,_|\___|_|\_\ |\__,_|\___|_|\_\\
@Jithender5913
Jithender5913 / main.py
Last active December 20, 2021 03:37
Calculator project using python
# calculator
# ADD
def add(n1, n2):
return n1 + n2
# subtracting
def subtract(n1, n2):
return n1 - n2