yummta / cow-bull

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cows and Bulls online game

This is the numerical version of the game Cows and Bulls, is usually played with 4 digits. The players each choose a 4-digit secret number. Then, in turn, the players try to guess their opponent's number who gives the number of matches. If the matching digits are in their right positions, they are "bulls", if in different positions, they are "cows".

Example:

  • Secret number: 4271
  • Opponent's try: 1234
  • Answer: 1 bull and 2 cows. (The bull is "2", the cows are "4" and "1".)

The first one to reveal the other's secret number in the least number of guesses wins the game.

Go to Play

Go to https://cowbull.yummta.com/

Contributing

This is the frontend of the application, if you want to contribute in the backend you can go to cow-bull-server repo

Pull requests are welcome. Please open an issue first to discuss what you would like to change. If it is approved you can fork the repo and start working on it.

Installation

yarn install

Development server and watching

yarn start

About


Languages

Language:JavaScript 92.2%Language:HTML 4.6%Language:CSS 3.2%