Skip to content

Test your code-breaking skills with the Cows and Bulls Game web app. Guess the secret 3-digit number, receive cows and bulls feedback, and aim to crack the code within 10 attempts.

License

Notifications You must be signed in to change notification settings

hspsuhas/CowsAndBullsGame

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cows and Bulls Game

The "Cows and Bulls" game is a classic code-breaking game where the player tries to guess a secret 3-digit number. The game provides feedback on each guess, indicating the number of "cows" and "bulls" in the guess.

  • A "cow" represents a correct digit in the wrong position.
  • A "bull" represents a correct digit in the correct position.

The player has 10 attempts to guess the secret number correctly. After each guess, the game displays the number of cows and bulls, helping the player to refine their next guess.

The game features a responsive web interface built using HTML, CSS, and JavaScript. It includes an input field for the player to enter their guess, buttons to submit the guess and start a new game, and a results table to track the previous guesses and their corresponding cows and bulls counts.

Have fun playing the "Cows and Bulls" game and see how quickly you can crack the code!

Web App

https://hspsuhas.github.io/Cows-and-Bulls-Game/

https://cowsandbulls.vercel.app/

Future Scope

The app only supports single player as of now and turning this into a multiplayer game is the future scope.

About

Test your code-breaking skills with the Cows and Bulls Game web app. Guess the secret 3-digit number, receive cows and bulls feedback, and aim to crack the code within 10 attempts.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published