ashpb / python-project-lvl1

Hexlet Python study project 1 (Brain Games)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Hexlet Python study project 1 (Brain Games)

Maintainability Build Status

About

This is an extensible set of small command-line puzzle/trivia-like games. The example games are pretty basic, but it's easy to implement and add your own games to the set to be run with existing game engine.

Installation

You can install the package from PyPI. Note that the main package is distributed through TestPyPI index, but there is still a dependency (prompt) to be fetched from the regular PyPI, so you need to use --extra-index-url option.

pip3 install --extra-index-url https://test.pypi.org/simple/ ashpb-brain-games

Game examples

brain-even

Guess if random number is even:

asciicast

brain-calc

Calculate the result of random expression:

asciicast

brain-gcd

Calculate the greatest common divisor of two random numbers:

asciicast

brain-progression

Find the missing element in arithmetic progression:

asciicast

brain-prime

Guess if the random number is a prime:

asciicast

About

Hexlet Python study project 1 (Brain Games)


Languages

Language:Python 97.0%Language:Makefile 3.0%