vancho / brain-games
First hexlet project
Installs: 39
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
Type:project
Requires
- wp-cli/php-cli-tools: ^0.11.11
Requires (Dev)
This package is auto-updated.
Last update: 2024-04-26 09:44:28 UTC
README
Badges
Install
composer global require vancho/brain-games
Run
brain-even - the user is shown a random number. And he needs to answer "yes", if the number is even, or "no" - if it is odd.
brain-calc - the user is shown a random mathematical expression, for example 35 + 16, which needs to be calculated and the correct answer written down.
brain-gcd - the user is shown two random numbers, for example, 25 50. The user must calculate and enter the greatest common divider of these numbers.
brain-progression - the user is shown a series of numbers that form an arithmetic progression, one number is hidden. The user must define this number.
brain-prime - the user is shown a random number. And he needs to answer “yes”, if the given number is simple. Otherwise, answer "no."