Giter Club home page Giter Club logo

bulls-cows-react-game's Introduction

Bulls and Cows is an old code breaking mind game.
The goal of this game is to guess a 4-digit number within the least number of attempts possible.
With every guess, you will get a feedback indicating how many Bulls and Cows you got with the guess.
A Bull means: one of the digits is correct, and is also at the right place.
A Cow means: one of the digits is a right number, but not at the right place.
For example, given that the answer is 0130, a guess of 3610 will receive 1 Bull 2 Cows. 1 Bull is 0, 2 Cows are 1 and 3.

This project was bootstrapped with Create React App.

Demo

The app can be seen in action here.

Run Locally

  1. Clone this repository and go into its src folder.
  2. Run npm install
  3. Run npm start
  4. Go to http://localhost:3000 to view the app

bulls-cows-react-game's People

Contributors

dependabot[bot] avatar existentialcoder avatar rashmiap avatar rashmiap10 avatar shashwatbag avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

bulls-cows-react-game's Issues

Introduce difficulties to the game

Introduce various levels of difficulty to the game, based on number of attempts.

Easy - 30 attempts
Medium - 15 attempts
Hard - 10 attempts

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.