Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/abra19/mini-brain-games-python
set of simple interactive games
https://github.com/abra19/mini-brain-games-python
python3
Last synced: 6 days ago
JSON representation
set of simple interactive games
- Host: GitHub
- URL: https://github.com/abra19/mini-brain-games-python
- Owner: Abra19
- Created: 2023-10-02T15:39:30.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-01-12T17:58:56.000Z (10 months ago)
- Last Synced: 2024-01-13T09:32:45.920Z (10 months ago)
- Topics: python3
- Language: Python
- Homepage:
- Size: 27.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
### Hexlet tests and linter status, Maintainability:
[![Actions Status](https://github.com/Abra19/python-project-49/actions/workflows/hexlet-check.yml/badge.svg)](https://github.com/Abra19/python-project-49/actions)
[![Maintainability](https://api.codeclimate.com/v1/badges/f9b2728037c913a8c25c/maintainability)](https://codeclimate.com/github/Abra19/python-project-49/maintainability)### Descriptions
This project implemented a set of mini-games launched from the console:
* check is the number even
* make calculation
* find great common divisor
* find hidden element of the progression
* check is the number prime
### Requirements
1. Python >=3.8.1
2. pip >= 19
3. poetry >= 1.2.0### To get started
1. Clone git repo:
`git clone [email protected]:Abra19/mini-brain-games-python.git`
2. Go to directory mini-brain-games-python:
`cd mini-brain-games-python`
3. Configuring `poetry` to create a virtual environment:
`poetry config virtualenvs.in-project true`
4. Create virual environment and Install dependencies
`make install`
5. Build package
`make build`
6. Publish package:
`make publish`
7. Installing the package in the user's environment:
`make package-install`
8. If you receive a tracking warning at step 7:
`WARNING: The script brain-games is installed in 'path/to/your/executable' which is not on PATH.`
Add this directory to PATH:
`export PATH=$PATH:'path/to/your/executable'`### To Run
Install package and run `brain-games` for welcome message:[![asciicast](https://asciinema.org/a/4YrcE5Nbsc3i7gNtZzAlJ7YRZ.svg)](https://asciinema.org/a/4YrcE5Nbsc3i7gNtZzAlJ7YRZ)
Run `brain-even` for check is the number even:
[![asciicast](https://asciinema.org/a/UBf9qlfEAsyu7HymqeVDfIBp7.svg)](https://asciinema.org/a/UBf9qlfEAsyu7HymqeVDfIBp7)
Run `brain-calc` for calculations:
[![asciicast](https://asciinema.org/a/pKNBygPkjJcvsDwaWMu6CpRTI.svg)](https://asciinema.org/a/pKNBygPkjJcvsDwaWMu6CpRTI)
Run `brain-gcd` to find great common divisor:
[![asciicast](https://asciinema.org/a/8LPsUDcVlgkNjZhpQP36dnF3r.svg)](https://asciinema.org/a/8LPsUDcVlgkNjZhpQP36dnF3r)
Run `brain-progression` to find hidden progression's element:
[![asciicast](https://asciinema.org/a/5dE0giEiPky7linHbrJptGDER.svg)](https://asciinema.org/a/5dE0giEiPky7linHbrJptGDER)
Run `brain-prime` for check is the number prime:
[![asciicast](https://asciinema.org/a/e5TMRm4iDH6ro01CbjDrINfnF.svg)](https://asciinema.org/a/e5TMRm4iDH6ro01CbjDrINfnF)