Skip to content

Malcom1986/php-project-lvl1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Brain Games

Hexlet PHP project - level 1

Maintainability Build Status

This repository contains Brain Games. This is a set of mini games launched from the console.


Install:

$ composer global require malcom/braingames


Games:

1. "Parity Check"

Answer yes if the number is even, otherwise answer no

Launch

$ brain-even

asciicast


2. "Calculator"

Find is the result of the expression

Launch

$ brain-calc

asciicast


3. "Greatest common divisor"

Find the greatest common divisor of given numbers

Launch

$ brain-gcd

asciicast


4. "Progression"

Find missing number in the progression

Launch

$ brain-progression

asciicast


5. "Is a prime"

Answer yes if given number is prime. Otherwise answer no

$ brain-prime

asciicast

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published