Giter Club home page Giter Club logo

jessporto-guess-the-number2_sepresub's Introduction

Guess The Number II

  • Guess The Number II is a Python terminal game
  • Users can try beat the computer guessing a number betweenn 1 and 10.

Responsive Mockup

How to play

Guess The Number is a classic guessing game.

The user can play against the computer by inputting the values on the terminal.

The game will tell the player immediately to guess a higher or lower number.

Features

Existing Features

  • Randon computer selection
    • Once the player choose computer will make a random selection
    • The player will not be able to see that

  • Example when the player win

Win

  • Example when the player guessed a lower number

Lower number

  • Example when the player guessed a higher number

Higher number

  • Play again
    • When the game is finished the user will be prompeted to press '1' to play again or 'q' to exit the game.

Play Again

  • Exit game
    • once the player press 'q' to exit it will be showed a message "Thank You" and the game will finish.

Exit

  • Input validation and error checking
    • if the player type invalid input it will be validated

Validation

Validation2

Testing

I have tested the project doing the following

  • passed on PEP8.
  • Tried invalid inputs
  • Tested on Heroku and the Terminal.

test

Bugs

Solved Bugs - Validation problem - Fixed error adding images to readme file, files added to a wrong folder.

Remain Bugs

  • No bugs remain

Validator Testing

  • PEP8
    • Initially found a whitespace that where fixed, no Warnings left. Test

Deployment

  • When you create the app, you will need to add two buildpacks from the Settings tab. The ordering is as follows:

    • heroku/python

    • heroku/nodejs

    • You must then create a Config Var called - PORT. Set this to 8000

    • Connect your GitHub repository and deploy as normal.

    Credits

jessporto-guess-the-number2_sepresub's People

Contributors

jessporto 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.