Skip to content

ticktick/php-project-lvl1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Maintainability CI

A set of command line math games:

  • brain-games - you should answer if the number is even or not
  • brain-calc - you should calculate the result of math expression
  • brain-gcd - you should calculate the greatest common divisor for given numbers
  • brain-progression - you should find a missed element from the arithmetic progression
  • brain-prime - you should answer if the number is prime or not

Installation

composer global require ticktick/hexlet-php-project-1

Make sure ~/.composer/vendor/bin is in PATH, if you want to run games globally

export PATH="$PATH:$HOME/.composer/vendor/bin"

Installation & Brain-games example

$ brain-games

asciicast

Brain-calc example

$ brain-calc

asciicast

Brain-gcd example

$ brain-gcd

asciicast

Brain-progression example

$ brain-progression

asciicast

Brain-prime example

$ brain-prime

asciicast