Skip to content

lion0k/project-lvl1-s384

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Project Brain games on Hexlet



Descriptions games

All mini-games ask you 3 questions. Your challenge is to answer all questions correctly.

  • brain-even - specify if the number is even or not, using only yes or no.
  • brain-calc - find a solution to a mathematical expression, like 2 * 9
  • brain-gcd - find the greatest common divisor of two numbers, like (55, 40) = 5
  • brain-progression - You are given an arithmetic progression, for example, 8 12 16 20 .. 28 32 36 40 44. You must find the missing number of the sequence.
  • brain-prime - specify if the number is prime or not, using only yes or no.

Installation and usage

1) composer global require li0n0k/brain-games
2) Add in your PATH - $HOME/.composer/vendor/bin
3) Run for example brain-even
4) Enjoy!


Example installation and play

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published