influx / php-project-lvl1
数学游戏
v1.0.2
2019-12-13 06:27 UTC
Requires
Requires (Dev)
This package is auto-updated.
Last update: 2024-09-29 05:22:15 UTC
README
描述: https://ru.hexlet.io/professions/php/projects/45
安装过程
大脑计算游戏
大脑偶数游戏
大脑最大公约数游戏
大脑质数游戏
大脑数列游戏
大脑根号附加游戏
大脑随机功能
如何安装
composer global require influx/php-project-lvl1
如何运行游戏
运行brain-games
然后输入游戏名称
游戏列表及描述
- calc
找出表达式的结果。 - even
如果给定的数字是偶数,回答"yes",否则回答"no"。 - gcd
找出给定数字的最大公约数。 - prime
如果给定的数字是质数,回答"yes",否则回答"no"。 - progression
找出数列中缺失的数字。 - root
找出平方最接近给定数字的整数。
选项
brain-games --random run random game
brain-games --list show list of games with their missions
brain-games --help show help