PHPackages                             kostyan-org/bulls-and-cows - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [CLI &amp; Console](/categories/cli)
4. /
5. kostyan-org/bulls-and-cows

ActiveProject[CLI &amp; Console](/categories/cli)

kostyan-org/bulls-and-cows
==========================

Simple console game "Bulls And Cows" written in PHP

v1.0.3(3y ago)014BSD-3-ClausePHPPHP &gt;=7.4.27

Since Mar 14Pushed 3y ago1 watchersCompare

[ Source](https://github.com/kostyan-org/bulls-and-cows)[ Packagist](https://packagist.org/packages/kostyan-org/bulls-and-cows)[ Docs](https://kostyan-org.github.io/bulls-and-cows)[ RSS](/packages/kostyan-org-bulls-and-cows/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (4)Dependencies (1)Versions (5)Used By (0)

Simple console game "Bulls And Cows"
====================================

[](#simple-console-game-bulls-and-cows)

[![Version](https://camo.githubusercontent.com/6c6a50c2d73204bb6a5b39ac799d4da1c159a9e4e6b6b35d96c3c63b739e7d91/687474703a2f2f706f7365722e707567782e6f72672f6b6f737479616e2d6f72672f62756c6c732d616e642d636f77732f76657273696f6e)](https://packagist.org/packages/kostyan-org/bulls-and-cows)[![Total Downloads](https://camo.githubusercontent.com/fd1c4777ac802371b553d7b0d0a8a3b381cc26807840c883dd660bc2ade97a22/687474703a2f2f706f7365722e707567782e6f72672f6b6f737479616e2d6f72672f62756c6c732d616e642d636f77732f646f776e6c6f616473)](https://packagist.org/packages/kostyan-org/bulls-and-cows)[![License](https://camo.githubusercontent.com/3e76299b09fbd53a34d1bc3c85bc24895a04afb4c1e5c038f3280ee12f663090/687474703a2f2f706f7365722e707567782e6f72672f6b6f737479616e2d6f72672f62756c6c732d616e642d636f77732f6c6963656e7365)](https://packagist.org/packages/kostyan-org/bulls-and-cows)[![PHP Version Require](https://camo.githubusercontent.com/a86fa95f2ccf249447c774e4d1ba3c36d0b53ca0c72e624b1163b300b138c0e2/687474703a2f2f706f7365722e707567782e6f72672f6b6f737479616e2d6f72672f62756c6c732d616e642d636f77732f726571756972652f706870)](https://packagist.org/packages/kostyan-org/bulls-and-cows)

[![Image](https://github.com/kostyan-org/bulls-and-cows/raw/gh-pages/Bulls%20and%20cows.PNG)](https://github.com/kostyan-org/bulls-and-cows/raw/gh-pages/Bulls%20and%20cows.PNG)

[Home page](https://kostyan-org.github.io/bulls-and-cows)

At the moment the game has 3 modes

- guess the number in which characters can be repeated (4 characters)
- guess the number in which characters do not repeat (4 characters)
- enter your number (1 - 9 characters)

The game supports the choice of one of two languages English and Russian

If there is a difficulty, you can see the number by sending the command - **!h** during the game

required to run php &gt;=7.4.27

install:

```
composer create-project kostyan-org/bulls-and-cows

```

run:

```
php ./bulls-and-cows/run.php

```

Debug mode is enabled in the run.php file:

```
new Game(true)

```

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~121 days

Total

4

Last Release

1155d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/b1bf37765fc04bac859e0f212660a2eb501935a325b017eead6a38f0030ccc40?d=identicon)[kostyan](/maintainers/kostyan)

---

Top Contributors

[![kostyan-org](https://avatars.githubusercontent.com/u/42151522?v=4)](https://github.com/kostyan-org "kostyan-org (3 commits)")

---

Tags

bullsbulls-and-cowsclicli-gameconsole-gamecowsgamephpcliconsolegamecowsbulls

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/kostyan-org-bulls-and-cows/health.svg)

```
[![Health](https://phpackages.com/badges/kostyan-org-bulls-and-cows/health.svg)](https://phpackages.com/packages/kostyan-org-bulls-and-cows)
```

###  Alternatives

[symfony/console

Eases the creation of beautiful and testable command line interfaces

9.8k1.1B11.3k](/packages/symfony-console)[nunomaduro/collision

Cli error handling for console/command-line PHP applications.

4.6k331.8M8.5k](/packages/nunomaduro-collision)[nunomaduro/termwind

It's like Tailwind CSS, but for the console.

2.5k239.8M286](/packages/nunomaduro-termwind)[wp-cli/php-cli-tools

Console utilities for PHP

68325.0M367](/packages/wp-cli-php-cli-tools)[php-school/cli-menu

A command line menu helper in PHP

2.0k1.1M27](/packages/php-school-cli-menu)[seld/cli-prompt

Allows you to prompt for user input on the command line, and optionally hide the characters they type

24725.8M17](/packages/seld-cli-prompt)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
