Skip to content

toohottostop/python_basic

Repository files navigation

python_basic

Large repository for educational purposes

Bulls and Cows

Bulls and Cows (also known as Cows and Bulls or Pigs and Bulls) is an old code-breaking mind or paper and pencil game for two or more players, predating the commercially marketed board game [Mastermind](https://en.wikipedia.org/wiki/Mastermind_(board_game\)).

How to play

Bulls and Cows requires Python 3.8.0

  1. git clone
  2. run() the game
  3. Enjoy

What is this project for?

Improve self skills in:

  • Exploring namespaces in Python
  • Separate client part from engine part (imitation of frontend and backend)
  • Try to arrange documentation with Markdown
  • Try branches in Git

Emulation of life

Cat

This project emulates the life of humans and cats. People are not always responsible for their pets. Help humans and cats live 365 days.

How to play

Emulation of life requires Python 3.8.0

Instruction for module men_and_cats.py

  1. git clone
  2. Set up your custom parameters in __init__ of each class
  3. Populate your number of cats and people in lists citizens and cats
  4. Try to make them survive!

Instruction for module family.py

  1. git clone
  2. Set up your custom parameters in __init__ of each class
  3. Also set number offood_incidents, money_incidents, salary of husband
  4. Populate your number of cats withself.cats_quantity in class Simulation
  5. Try to make family survive!

What is this project for?

Improve self skills in:

  • Exploring OOP in Python

python_exceptions

dealing with exceptions

python_function_style

Explore fuction style in python: iterators, generators, decorators

snowfall

simple snowfall created with "simple draw" module

template_method

did some projects using design pattern - "Template Method"

python_multiprocessing_and_multithreading

Explore multiprocessing and multithreading in python

bowling_tournament

Console utility for count bowling tournament scores

About

Large repository for educational purposes

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages