kostyan-org/bulls-and-cows

Simple console game "Bulls And Cows" written in PHP

v1.0.3 2023-03-14 17:28 UTC

This package is auto-updated.

Last update: 2024-05-14 20:19:19 UTC


README

Version Total Downloads License PHP Version Require

Image

Home page

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)