Giter VIP home page Giter VIP logo

guess-the-number's Introduction

Guess-The-Number

This is a timepass game

~/Guess-The-Number$ python guess_the_number.py

 .d8888b.                                          888    888                   888b    888                        888
d88P  Y88b                                         888    888                   8888b   888                        888
888    888                                         888    888                   88888b  888                        888
888        888  888  .d88b.  .d8888b  .d8888b      888888 88888b.   .d88b.      888Y88b 888 888  888 88888b.d88b.  88888b.   .d88b.  888d888 .d8888b
888  88888 888  888 d8P  Y8b 88K      88K          888    888 "88b d8P  Y8b     888 Y88b888 888  888 888 "888 "88b 888 "88b d8P  Y8b 888P"   88K
888    888 888  888 88888888 "Y8888b. "Y8888b.     888    888  888 88888888     888  Y88888 888  888 888  888  888 888  888 88888888 888     "Y8888b.
Y88b  d88P Y88b 888 Y8b.          X88      X88     Y88b.  888  888 Y8b.         888   Y8888 Y88b 888 888  888  888 888 d88P Y8b.     888          X88
 "Y8888P88  "Y88888  "Y8888   88888P'  88888P'      "Y888 888  888  "Y8888      888    Y888  "Y88888 888  888  888 88888P"   "Y8888  888      88888P'

Guess The Number Between 0 and 10000, you have 20 guesses

Number of tries left: 1

your guess is LOWER!

Your Tries:

1		LOW
2		LOW
3		LOW
6666		HIGH
7777		HIGH
4444		LOW
3333		LOW
5555		LOW
54545		HIGH
234		LOW
2345		LOW
2354654		HIGH
4		LOW
3		LOW
2		LOW
1		LOW
4		LOW
5		LOW
6		LOW

Guess the number: 7

You lost the game :(

~/Guess-The-Number$ python guess_the_number.py

 .d8888b.                                          888    888                   888b    888                        888
d88P  Y88b                                         888    888                   8888b   888                        888
888    888                                         888    888                   88888b  888                        888
888        888  888  .d88b.  .d8888b  .d8888b      888888 88888b.   .d88b.      888Y88b 888 888  888 88888b.d88b.  88888b.   .d88b.  888d888 .d8888b
888  88888 888  888 d8P  Y8b 88K      88K          888    888 "88b d8P  Y8b     888 Y88b888 888  888 888 "888 "88b 888 "88b d8P  Y8b 888P"   88K
888    888 888  888 88888888 "Y8888b. "Y8888b.     888    888  888 88888888     888  Y88888 888  888 888  888  888 888  888 88888888 888     "Y8888b.
Y88b  d88P Y88b 888 Y8b.          X88      X88     Y88b.  888  888 Y8b.         888   Y8888 Y88b 888 888  888  888 888 d88P Y8b.     888          X88
 "Y8888P88  "Y88888  "Y8888   88888P'  88888P'      "Y888 888  888  "Y8888      888    Y888  "Y88888 888  888  888 88888P"   "Y8888  888      88888P'

Guess The Number Between 0 and 10000, you have 20 guesses

Number of tries left: 8

Y88b   d88P                       888       888                       888 888 888
 Y88b d88P                        888   o   888                       888 888 888
  Y88o88P                         888  d8b  888                       888 888 888
   Y888P     .d88b.  888  888     888 d888b 888  .d88b.  88888b.      888 888 888
    888     d88""88b 888  888     888d88888b888 d88""88b 888 "88b     888 888 888
    888     888  888 888  888     88888P Y88888 888  888 888  888     Y8P Y8P Y8P
    888     Y88..88P Y88b 888     8888P   Y8888 Y88..88P 888  888      "   "   "
    888      "Y88P"   "Y88888     888P     Y888  "Y88P"  888  888     888 888 888

9620 is the correct number

Your Tries:

5000		LOW
7500		LOW
8250		LOW
9000		LOW
9500		LOW
9700		HIGH
9600		LOW
9650		HIGH
9625		HIGH
9610		LOW
9615		LOW
9620		CORRECT

guess-the-number's People

Contributors

aakashsoni avatar mukeshyadav-in 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.