jougene/brain-games
Composer 安装命令:
composer require jougene/brain-games
包简介
Hexlet project
README 文档
README
Installation
composer global require jougene/brain-games
Description
Some mini console brain games. The specific game ask you for 3 questions. Your challenge is to answer to all of them correctly.
Games list
- brain-even - specify if the number is even or not.
- brain-calc - find the result of simple math expression
- brain-gcd - find the greatest common divisor of two given numbers
- brain-balance - balance the number (the difference of two digits in the given number should not equal more than one)
- brain-progression - find a missed number in the arithmetic progression
- brain-prime - specify if the number is prime or not
Usage
Firstly you need add ~/.composer/vendor/bin to your PATH
$ bin/'game name'
ex. $ bin/brain-prime
Example
统计信息
- 总下载量: 44
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2017-07-10