Skip to main content

Provides oppotunity to play games with mathematical calculations. In version 0.1.0 there are 5 games: calculations of two numbers, identification of an even number, finding the greatest common divisor of given numbers, identification of a prime number, finding missing number in the progression.

Project description

Brain Games

Brain Games is a Python library that provides oppotunity to play games with mathematical calculations.


Hexlet tests and linter status:

Actions Status

Linter

CodeClimate:

Links

This project was built using these tools:

Tool Description
poetry "Python dependency management and packaging made easy"

Description

In each game you have to give 3 right answers to become a winner, otherwise the game ends. You can play any of the following games:

Game name Description
brain-calc You need to make calculations with 2 given numbers
brain-even You need to answer whether the given number is even or not
brain-gcd You need to find the greatest common divisor of given numbers
brain-prime You need to answer whether the given number is prime or not
brain-progression You need to find the missing number in the progression

Usage

$ brain-calc
$ brain-even
$ brain-gcd
$ brain-prime
$ brain-progression

Asciinema record:

asciinema

License

GNU GPLv3

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hexlet-code-Dddarknight-0.1.0.tar.gz (4.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

hexlet_code_Dddarknight-0.1.0-py3-none-any.whl (7.3 kB view details)

Uploaded Python 3

File details

Details for the file hexlet-code-Dddarknight-0.1.0.tar.gz.

File metadata

  • Download URL: hexlet-code-Dddarknight-0.1.0.tar.gz
  • Upload date:
  • Size: 4.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.13 CPython/3.10.3 Darwin/21.5.0

File hashes

Hashes for hexlet-code-Dddarknight-0.1.0.tar.gz
Algorithm Hash digest
SHA256 937b35895890dfc82e5884472b2b7d3726bc615f12e788eb04b865932194d1e3
MD5 41702d89f42616104a6bd1e499abf89c
BLAKE2b-256 2e8dbb33e7fcb9764fa6ff90234895188bb1b7b759b2dffa8098a3474f4e7ba3

See more details on using hashes here.

File details

Details for the file hexlet_code_Dddarknight-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for hexlet_code_Dddarknight-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7034205b1eb0caf229ffa530319f17e57bf8f6d26e8319681ac1a11ea8aba169
MD5 d00e8dc98f4588e233e3064d15559f84
BLAKE2b-256 4bb29ee2804232f67deaa04fd9e569179a10234a3787c32db2e25d75147dd016

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page