https://github.com/kostyan-org/bulls-and-cows
Simple console game "Bulls And Cows" (PHP)
https://github.com/kostyan-org/bulls-and-cows
bulls bulls-and-cows cli cli-game console-game cows game php
Last synced: 8 months ago
JSON representation
Simple console game "Bulls And Cows" (PHP)
- Host: GitHub
- URL: https://github.com/kostyan-org/bulls-and-cows
- Owner: kostyan-org
- License: bsd-3-clause
- Created: 2022-03-14T09:19:30.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2023-03-14T17:37:27.000Z (over 2 years ago)
- Last Synced: 2025-01-01T16:44:00.663Z (10 months ago)
- Topics: bulls, bulls-and-cows, cli, cli-game, console-game, cows, game, php
- Language: PHP
- Homepage: https://kostyan-org.github.io/bulls-and-cows
- Size: 45.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Simple console game "Bulls And Cows"
[](https://packagist.org/packages/kostyan-org/bulls-and-cows)
[](https://packagist.org/packages/kostyan-org/bulls-and-cows)
[](https://packagist.org/packages/kostyan-org/bulls-and-cows)
[](https://packagist.org/packages/kostyan-org/bulls-and-cows)

[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 >=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)