Skip to content

faciledictu/brain-games

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Actions Status Maintainability

Brain Games

Brain Games is a set of console games to train for practising your math skills. To win, you have to give the right answer three times.

This is my very first studying project at Hexlet School.

Installation

Cloning storage and installing dependencies

git clone git@github.com:faciledictu/frontend-project-lvl1.git

cd frontend-project-lvl1.git

make install

You can also run Brain Games from the shell like other programs. This command will create symlinks to bins in the global bin folder.

make link

Usage

To start playing use

make <game-name>

If you have created link via make link, just run a game by its name.

<game-name>

brain-even

Answer 'yes' if you get an even number.

brain-calc

Calculate in your mind the value of the expression shown.

brain-gcd

Type the maximum number by which the two suggested numbers can be divided.

brain-progression

Find a pattern in the row of numbers and write the missing one.

brain-prime

If a number has only two divisors, it is prime. Answer 'yes' if the number you get is prime.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published