alexey / php-project-lvl1
There is no license information available for the latest version (dev-master) of this package.
console games
Package info
github.com/AlexeyDanilov/php-project-lvl1
Type:project
pkg:composer/alexey/php-project-lvl1
dev-master
2019-10-20 22:02 UTC
Requires
- wp-cli/php-cli-tools: ^0.11.11
Requires (Dev)
This package is auto-updated.
Last update: 2026-03-22 00:01:51 UTC
README
Welcome to Brain_games
This's serie just logic-games.
- brain-calc - In this game you have to perform basic mathematical operations - addition, subtraction and multiplication.
- brain-even - In this game you must determine - whether the number is even or not. If the number is even, you must answer “yes”, if not even, then “no”.
- brain-gcd - In this game you will be presented with two numbers. You need to analyze them and find the largest number by which they are divided without a remainder.
- brain-prime - In this game you must determine whether the number shown is prime. If it’s purely simple, you must answer “yes”, if not simple, then “no”. A prime number is a number that is divisible without remainder only by itself and by one.
- brain-progression - In this game you will be presented with a series of numbers. You must find a pattern between them and enter the missing number.
How to install games?
Write in your Terminal:
composer global require alexey/php-project-lvl1:"@dev"
Start of a game
Write in your Terminal:
- brain-calc
brain-calc
- brain-even
brain-even
- brain-gcd
brain-gcd
- brain-prime
brain-prime
- brain-progression
brain-progression
See!
Install project + start BRAIN-GCD
Install project + start BRAIN-PROGRESSION
Install project + start BRAIN-PRIME