Git Product home page Git Product logo

the-number-game's Introduction

The Number Game

Introduction

The number game is a simple guessing game where one has to guess a 4 digit number randomly generated by the computer based on some clues given regarding the number of correct digits.

Rules of the Game

  1. The Computer generates a random 4 digit number. The digits are between 1-9 and there are no repetitions

  2. Your job is to guess the number in as few guesses as possible

  3. When you enter a guess, the computer will tell how many digits you got right

  4. If you got one digit right it will return 1 B

  5. If you got a digit right but it is in the wrong place, it will return 1 C

  6. For example, if the computer returns 2B 1C then your guessed number will have 2 digits in the right place and one digit which is correct but in the wrong place

  7. While guessing, you cannot repeat digits in the number you guess

Tools used

Client Side

  1. CSS Framework : Bulma

  2. JS Framework : Vue.js

Server Side

  1. Nodejs

  2. Express

  3. Redis cache using RedisLabs

Planned Improvements

  1. Improved UI

  2. Support for Multiplayer

  3. Support for common rooms

  4. Number of digits in the number to be made available as user input

the-number-game's People

Contributors

gopal9816 avatar

Watchers

 avatar

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.