fidilly/brain-games
Composer 安装命令:
composer create-project fidilly/brain-games
包简介
the first PHP project
README 文档
README
Brain games is a small project that contains several games. The project contains the following games:
- brain-games
- brain-even
- brain-calc
- brain-gcd
- brain-progression
- brain-prime
Installation
Brain games can be installed globally or locally, with Composer package manager:
Global installation:
composer global require fidilly/brain-games
example:
Local installation:
composer create-project fidilly/brain-games
example:
Uninstall
If the game is installed globally:
composer global remove fidilly/brain-games
example:
If the game is installed locally, then delete the brain-games directory.
Description and usage
To start the game, enter the name of the game in the terminal.
brain-games
Says Hello to user.
example:
brain-even
You must answer an even number or not.
example:
brain-calc
You need to calculate the mathematical expression shown on the screen.
example:
brain-gcd
You need to find the greatest common divisor.
example:
brain-progression
You need to find missing number from progression.
example:
brain-prime
You need to check is the number simple or not.
example:
统计信息
- 总下载量: 38
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2019-04-01