Skip to content

Welcome to my repository of Python Projects! This repository showcases a diverse collection of Python projects that I've developed to explore various programming concepts, methods, and libraries.

Notifications You must be signed in to change notification settings

JainSneha6/PythonProjects

Repository files navigation

My Python Projects 🚀

Welcome to my repository of Python Projects! This repository showcases a diverse collection of Python projects that I've developed to explore various programming concepts, methods, and libraries.

Index of Projects

Project Description
Guessing Game 🎲 A fun game to guess a secret number between 0 and 100.
Tic Tac Toe ⭕❌ A classic game where players aim to get three in a row.
Blackjack Game 🃏 Simulates the popular card game of Blackjack.
Rock, Paper, Scissors Game 🎮 A simple game where players choose rock, paper, or scissors.
Age and Day Calculator 📅 Calculates age and the day of the week based on birthdate.
Friendship Test Application 🤝 Evaluates how well you know your friend through questions.
Zodiac Sign Finder 🌟 Determines your zodiac sign based on your birthdate.

Project 1: Guessing Game 🎲

Guessing Game is a fun Python project where players attempt to guess a secret number between 0 and 100.

It's designed to be beginner-friendly while reinforcing core programming principles such as user input, conditionals, and loops. Also working with random library.

How to Play 🕹️

  • Start the game by running the Python script named GuessGame.py.
  • Guess a number between 0 and 100.
  • Receive feedback on your guess:
    • "COLD" if your guess is more than 10 away from the secret number.
    • "WARM" if your guess is within 10 of the secret number.
    • "COLDER" if your guess is farther from the secret number than your previous guess.
    • "WARMER" if your guess is closer to the secret number than your previous guess.
  • Keep guessing until you find the secret number or decide to quit.

Project 2: Tic Tac Toe ⭕❌

Tic Tac Toe is a classic game where players take turns placing their mark (either X or O) in a 3x3 grid. The objective is to get three of your marks in a row, column, or diagonal.

A beginner-friendly game designed to improve the core programming skills such as user input, conditionals and loops. Also working with lists and matrices to represent the game board.

How to Play 🕹️

  • Start the game by running the Python script named TicTacToe.py.
  • Players take turns entering their moves.
  • The game ends when one player achieves three marks in a row, column, or diagonal, or when the grid is full.
  • Keep playing multiple rounds and see who wins with the maximum score!

Project 3: Blackjack Game 🃏

Welcome to my Blackjack game project! This Python script simulates the popular casino card game Blackjack, also known as 21. In this game, players compete against the dealer to have a hand value as close to 21 as possible without exceeding it.

A game designed to improve the core programming skills such as object oriented programming and error handling.

How to Play 🕹️

  • Start the Game: Run the Python script named Blackjack.py.
  • Place Your Bet: Enter the number of chips you want to bet at the prompt.
  • Receive Your Cards: You'll be dealt two cards face-up, while the dealer receives one face-up card and one face-down card.
  • Choose Your Move: Decide whether to hit (take another card) or stand (keep your current hand) based on your hand value and the dealer's visible card.
  • Reach 21 or Closest Value: Try to get as close to 21 as possible without exceeding it. If your hand value exceeds 21, you bust and lose the round.
  • Beat the Dealer: Compare your hand value to the dealer's hand value. If your hand value is higher than the dealer's (without busting), you win chips. If the dealer's hand value is higher, you lose chips. If the values are equal, it's a push, and you keep your chips.
  • Play Again: After each round, you have the option to play another hand or exit the game.

Project 4: Rock, Paper, Scissors Game 🎮

Rock, Paper, Scissors is a simple yet entertaining game where players choose between rock, paper, or scissors in an attempt to beat their opponent.

It's a beginner-friendly project designed to reinforce core programming concepts such as user input, conditional statements, loops, and GUI development using Tkinter.

How to Play 🕹️

  • Start the game by running the Python script in the folder RockPaperScissors named RockPaperScissors.py.
  • Click on the image representing your choice: rock, paper, or scissors.
  • After making your choice, the computer will randomly select its move.
  • The game will display the result: win, lose, or tie.
  • Keep playing to see if you can outsmart the computer!

Project 5: Age and Day Calculator 📅

The Age and Day Calculator is a Python application designed to calculate a person's age based on their birthdate and determine the day of the week they were born on.

This project focuses on GUI development, date manipulation, user input handling, and basic error handling in Python.

How to Use 📝

  • Run the Application: Execute the Python script named AgeDayCalculator.py.
  • Enter Personal Information: Input your name, birth year, birth month, and birth date into the designated fields.
  • Submit Information: Click the "Submit" button to calculate your age and determine the day of the week you were born on.
  • View Results: The application will display your age and the day of the week you were born on in an aesthetically pleasing format.

Project 6: Friendship Test Application 🤝

The Friendship Test is a Python application designed to evaluate how well you know your friend by comparing your answers to a set of questions. The questions include favorite color, birthdate, favorite movie, hobby, and favorite destination. The application provides instant feedback on your guesses and calculates your score based on the number of correct answers.

This project mainly focuses on GUI Development with Tkinter, user input handling, data handling, conditional statements, Text-to-Speech Integration using pyttx3 library and importing files as modules/packages.

How to Use 📝

  • Run the Python script in the folder FriendshipTest named Friendshiptest.py.
  • Enter your answers for each question.
  • Click the "Submit" button on each form to see the results.
  • Receive immediate feedback on your guesses and your overall score.
  • Based on your score, get a message indicating the level of friendship between you and your friend.
  • Enjoy testing your friendship and see how well you know each other!

Project 7: Zodiac Sign Finder 🌟

The Zodiac Sign Finder is a Python application designed to determine a person's zodiac sign based on their birth month and date. It provides users with a simple interface to input their birth details and view their corresponding zodiac sign.

This project focuses on GUI interface using Tkinter, image intergration with Tkinter, dictionaries, tuples and text-to-speech functionality using pyttx3 library.

How to Use 📝

  • Run the Application: Execute the Python script in the folder zodiac named Zodiac_sign.py.
  • Enter your birth month in the provided text field.
  • Enter your birth date in the respective text field.
  • Click the "Submit" button to find out your zodiac sign.
  • The application will display your zodiac sign along with a corresponding image.

Feel free to explore more projects in this repository and enjoy experimenting with Python programming! 🐍✨

About

Welcome to my repository of Python Projects! This repository showcases a diverse collection of Python projects that I've developed to explore various programming concepts, methods, and libraries.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages