Skip to content

artengin/php-brain-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hexlet tests and linter status:

Actions Status Maintainability

Brain Games

5 mini-games to warm up the brain

Requirements

PHP 8.3, Composer 2.7

Setup

make install

Game № 1

Guess an even or odd number

make brain-even
Demo:

asciicast

Game № 2

Calculate the result of the expression

make brain-calc
Demo:

asciicast

Game № 3

Find the greatest common divisor of given numbers

make brain-gcd
Demo:

asciicast

Game № 4

Find number is missing in the progression

make brain-progression
Demo:

asciicast

Game № 5

Guess if the number is prime

make brain-prime
Demo:

asciicast

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published