Skip to content

Welcome to PyProjects! This repository contains a collection of small yet fascinating Python projects. These projects are fun to build, provide a great learning experience, and demonstrate practical applications of various Python concepts.

Notifications You must be signed in to change notification settings

Sarthak1970/PyProjects

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 

Repository files navigation

PyProjects

Welcome to PyProjects! This repository contains a collection of small yet fascinating Python projects. These projects are fun to build, provide a great learning experience, and demonstrate practical applications of various Python concepts.

Contents Rock-Paper-Scissors Snake Game Tic-Tac-Toe Timer

Rock-Paper-Scissors

A multiplayer Rock-Paper-Scissors game with a graphical user interface (GUI) built using Tkinter. This game allows two players to compete against each other on the same computer. The interface is simple and user-friendly, making it easy for players to select their moves and see the results.

Features:

Multiplayer mode User-friendly Tkinter GUI Clear display of game results Instructions:

Clone the repository. Navigate to the rock_paper_scissors directory. Run the game using python rock_paper_scissors.py.

Snake Game

A classic Snake game built using Tkinter for the GUI. This game makes extensive use of Object-Oriented Programming (OOP) concepts and employs the bind function to control the snake's movement. The player controls the snake using the arrow keys, and the objective is to eat the food to grow longer while avoiding collisions with the walls or the snake's own body.

Features:

Tkinter GUI Use of OOP concepts bind function for snake control Instructions:

Clone the repository. Navigate to the snake_game directory. Run the game using python snake_game.py.

Tic-Tac-Toe

A classic Tic-Tac-Toe game that can be played against the computer or another player. The game features a simple Tkinter GUI, allowing players to click on the grid to place their moves. The game includes logic to check for win conditions and handles the switching of turns between players.

Features:

Single-player and multiplayer modes Tkinter GUI Win condition detection Instructions:

Clone the repository. Navigate to the tic_tac_toe directory. Run the game using python tic_tac_toe.py.

Timer

A simple countdown timer with a customizable duration. The timer is built using Tkinter, providing a clean and straightforward interface for users to set the time and start the countdown. The timer alerts the user when the countdown reaches zero.

Features:

Customizable countdown duration Tkinter GUI Alert on countdown completion Instructions:

Clone the repository. Navigate to the timer directory. Run the timer using python timer.py.

About

Welcome to PyProjects! This repository contains a collection of small yet fascinating Python projects. These projects are fun to build, provide a great learning experience, and demonstrate practical applications of various Python concepts.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages