Skip to content
This repository has been archived by the owner on Nov 13, 2023. It is now read-only.

ratushnyivm/brain-games

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

99 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Brain games

hexlet-check lint and test Maintainability Test Coverage


Description

"Brain Games" is a set of five console games based on the popular mobile brain-pumping apps. Each game asks questions that need to be answered correctly. After three correct answers, the game is considered completed. Incorrect answers end the game and prompt you to play it again.


Dependencies

Tool Version
python "^3.8.1"
prompt "^0.4.1"
colorama "^0.4.5"

Installation

Before installation, make sure that you have Poetry installed.

  1. Clone the repository to your computer git clone https://github.com/ratushnyyvm/brain-games.git
  2. Go to the project folder cd brain-games
  3. Install the game package make setup

Usage

Run the game Description
brain-calc Calculator. Arithmetic expressions to be calculated.
brain-even Definition of an even number.
brain-gcd Determining the greatest common divisor.
brain-prime Definition of a prime number.
brain-progression Progression. Search for missing numbers in a sequence of numbers.

Demonstration

installation

asciicast

brain_calc

win

asciicast

loss

asciicast

brain_even

win

asciicast

loss

asciicast

brain_gcd

win

asciicast

loss

asciicast

brain_prime

win

asciicast

loss

asciicast

brain_progression

win

asciicast

loss

asciicast