Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

151 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python Basic Projects Repository

Welcome to the Python Basic Projects repository!
This repository is a collection of fun and casual Python programs, games, and small projects that I created while learning the language. These projects are designed to demonstrate basic programming concepts, algorithms, and problem-solving techniques in Python.

Feel free to explore the code, run the projects, or use them as inspiration for your own learning.


Table of Contents

  1. Introduction
  2. Projects List
  3. How to Run the Programs
  4. Prerequisites
  5. Features
  6. Contribution Guidelines
  7. License
  8. Contact

Introduction

This repository contains various Python programs and projects developed for educational purposes. They range from simple command-line games to small utility tools, covering fundamental Python programming concepts.

These projects serve as examples for beginners and intermediate learners who want to deepen their understanding of Python by building small, practical applications.


Projects List

Here are some of the projects you will find in this repository:

Game Projects:

  • Snake Game: A classic snake game built with Python.
  • Tic-Tac-Toe: A command-line version of the traditional Tic-Tac-Toe game.
  • Hangman: A word-guessing game with a command-line interface.

Utility Projects:

  • To-Do List Manager: A simple application for managing tasks.
  • Calculator: A basic calculator supporting operations like addition, subtraction, multiplication, and division.
  • Password Generator: A script that generates secure random passwords.

Fun Projects:

  • Guess the Number: A game where the user guesses a randomly generated number.
  • Magic 8-Ball: A fortune-telling game that simulates the classic Magic 8-Ball toy.

How to Run the Programs

To run any of the programs in this repository:

  1. Clone the repository to your local machine using the following command:

    bash

    Copy code

    git clone https://github.com/CodersAcademy006/python-basic-projects.git

  2. Navigate to the folder of the project you want to run:

    bash

    Copy code

    cd python-basic-projects/projects/snake_game

  3. Run the Python script:

    Copy code

    python3 snake_game.py

Make sure you have Python installed on your system.


Prerequisites

Before running the programs, ensure you have the following prerequisites:

  • Python 3.x: All programs are written in Python 3.x. You can download Python from python.org.

  • Additional Python libraries: Some programs might require external libraries such as pygame, random, etc. Install the required libraries using:

    Copy code

    pip install -r requirements.txt

Each project will have its own specific requirements, if any.


Features

  • Variety of Projects: Includes games, utilities, and fun scripts showcasing various Python programming concepts.
  • Educational Focus: Great for beginners looking for practical examples of Python code.
  • Interactive Games: Several projects are interactive and designed to run in the terminal/console.
  • Modularity: Most projects are self-contained, making it easy to understand and modify individual scripts.

Contribution Guidelines

Contributions are welcome! If you'd like to contribute to this repository:

  1. Fork the repository.
  2. Create a new branch for your feature/bug fix.
  3. Submit a pull request with a clear description of your changes.

Please ensure that your contributions are well-documented and that the code adheres to Python's best practices.


License

This project is licensed under the MIT License. Feel free to use the code for educational and personal projects, but please provide appropriate credit.


Contact

If you have any questions, suggestions, or just want to connect, feel free to reach out:

About

No description, website, or topics provided.

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages