biserg/braingames

此包的最新版本(1.9)没有可用的许可信息。

BrainGames - 游戏包,Hexlet 教育项目

1.9 2020-08-06 19:49 UTC

This package is auto-updated.

Last update: 2024-09-07 05:23:49 UTC


README

CI

BrainGames

这是一个创新、非常吸引人和激动人心的游戏包,是作为 Hexlet 教程的结果创建的。您可以享受包括以下5个不同的游戏

  • 数字计算 BrainGame
  • 偶数检测 BrainGame
  • 最大公约数搜索 BrainGame
  • 素数检测 BrainGame
  • 等差数列成员检测 BrainGame

安装设置

$ git clone https://github.com/IgBuS/php-project-lvl1.git

$ make install

如果您使用 Composer,使用以下命令安装包:

$ composer require biserg/braingames

如果您想让游戏可用全局,请使用全局安装

$ composer global require biserg/braingames

如何运行

本地安装:(您必须在包的 bin 目录中)

$ php GameName

全局安装

$ GameName

其中 GameName 是相应游戏运行文件的名称

结果视频:https://asciinema.org/a/ig1FURSOcOvlYFQYyVwFUVewW