Skip to content
ย 
ย 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

1,382 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

GSSoC Approved Repository

๐ŸŽฎ Python Mini Projects Collection ๐ŸŽฏ

Learn Python by Building Fun, Interactive Games & Tools!

Python Version License

Live Demo

Visitors Stars Forks Contributors

๐Ÿš€ Beginner-friendly projects | ๐Ÿ’ก Learn by doing | ๐ŸŽจ Clean UI | โšก Live demo available

Live Demo โ€ข Contributors


๐Ÿ“š Table of Contents

๐ŸŽฏ Repo Introduction

This repository is a collection of small Python games and utility projects built to make learning Python more practical and engaging. It includes both command-line projects and a browser-based web app for trying the projects online.

๐Ÿ“‚ Repo Structure

python-mini-project/
|
โ”œโ”€โ”€ games/
โ”‚   โ”œโ”€โ”€ Snake-Game/
โ”‚   โ”œโ”€โ”€ Rock-Paper-Scissor/
โ”‚   โ””โ”€โ”€ ...
โ”œโ”€โ”€ math/
โ”‚   โ”œโ”€โ”€ Fibonacci-Series/
โ”‚   โ”œโ”€โ”€ Prime-Number-Analyzer/
โ”‚   โ””โ”€โ”€ ...
โ”œโ”€โ”€ utilities/
โ”‚   โ”œโ”€โ”€ Text-to-Morse/
โ”‚   โ”œโ”€โ”€ Typing-Speed-Tester/
โ”‚   โ””โ”€โ”€ ...
โ”œโ”€โ”€ web-app/
โ”‚   โ”œโ”€โ”€ css/
โ”‚   โ”œโ”€โ”€ js/
โ”‚   โ””โ”€โ”€ assets/
โ”œโ”€โ”€ README.md
โ””โ”€โ”€ requirements.txt

๐Ÿš€ Getting Started

Prerequisites

  • Python 3.10 or higher
  • Git (for cloning the repository)
  • pip (Python package manager)

Installation Steps

1. Clone the Repository

git clone https://github.com/steam-bell-92/python-mini-project.git
cd python-mini-project

2. Create a Virtual Environment

For Linux/macOS:

python3 -m venv venv
source venv/bin/activate

For Windows (Command Prompt):

python -m venv venv
venv\Scripts\activate

For Windows (PowerShell):

python -m venv venv
venv\Scripts\Activate.ps1

3. Install Dependencies

pip install --upgrade pip
pip install -r requirements.txt

Running Command-Line Projects

Each Python project in games/, math/, and utilities/ folders can be run independently.

Example: Running a Game

cd games/Snake-Game
python Snake-Game.py

Example: Running a Math Project

cd math/Fibonacci-Series
python Fibonacci-Series.py

Example: Running a Utility

cd utilities/Text-to-Morse
python Text-to-Morse.py

Running the Web App

The web application provides a browser-based interface for all projects.

Prerequisites for Web App

The web app requires Node.js and npm:

  • Download from https://nodejs.org/ (v16 or higher recommended)
  • Verify installation: node --version && npm --version

Steps to Run Web App

cd web-app
npm install
npm start

The app will open at http://localhost:3000 (or your configured port).

Running Tests

To verify that the projects work correctly, run the test suite:

pytest tests/ -v

For specific test file:

pytest tests/test_armstrong.py -v

Development Workflow

Creating a New Project

  1. Choose appropriate directory: games/, math/, or utilities/
  2. Create a new folder with your project name (use PascalCase)
  3. Add your .py file with the same name as the folder
  4. Include a README.md in your project folder with usage instructions
  5. Add tests in tests/ directory with prefix test_

Code Guidelines

  • Follow PEP 8 style guide
  • Write docstrings for functions and classes
  • Add unit tests for your code
  • Test your project before submitting a PR

Virtual Environment Reminder

Always activate your virtual environment before working:

# Linux/macOS
source venv/bin/activate

# Windows
venv\Scripts\activate

Deactivate when done:

deactivate

๐Ÿงฉ Whatโ€™s Inside

  • Games for quick interactive fun
  • Math projects for learning logic and problem solving
  • Utility tools for practical use cases
  • A web app version for browser-based access

๐Ÿ‘ฅ Contributors

We appreciate all contributions to recode hive! Thank you to everyone who has helped make this project better.


๐Ÿ“ License

This project is licensed under the MIT License - see the LICENSE file for details.


๐Ÿ’ฌ Connect & Share

Found this helpful? Show some love!

  • โญ Star this repo if you found it useful
  • ๐Ÿ› Report bugs or suggest features via Issues
  • ๐Ÿ’ฌ Share with friends learning Python
  • ๐ŸŽ“ Use in your classroom or coding club

๐ŸŽ‰ Happy Coding! ๐ŸŽ‰

Made with โค๏ธ for Python learners everywhere

If you learned something new, don't forget to star the repo! โญ

โฌ† Back to Top

About

Multiple fun Python project, zero dependencies, beginner-friendly code with emoji UI.

Resources

Code of conduct

Contributing

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages