Skip to content

First project from Hexlet Python developer course

Notifications You must be signed in to change notification settings

dimmy2000/brain-games

Repository files navigation

Brain Games

Actions Status Linter check status Maintainability

Description

Brain Games is a bundle of math games with command line interface.

Installation

Run the following commands in the shell:

git clone https://github.com/dimmy2000/brain-games.git
cd brain-games
make build
make package-install

Usage

After installation, you can play games with the following commands:

  • brain-even - guess if the given number is even
  • brain-calc - guess the result of a mathematical expression
  • brain-gcd - guess the greater common divisor of two numbers
  • brain-progression - guess missing number in arithmetic progression
  • brain-prime - guess if the given number is prime

brain-even example

brain even example


brain-calc example

brain calc example


brain-gcd example

brain gcd example


brain-progression example

brain progression example


brain-prime example

brain prime example