Git Product home page Git Product logo

guess_the_phrase's Introduction

Guess_the_Phrase

Dare to guess the random phrase.

This is a small phrase guessing game that was developed using JavaScript and OOP(Object Oriented Programming) to select a random, hidden phrase, which a player tries to guess, by clicking letters on onscreen keyboard.

Added Feature: Now player can also choose letters from system keyboard

Game Rules:

  • The player’s goal is to guess all the letters in a hidden, random phrase. At the beginning, the player only sees the number of letters and words in the phrase, represented by blank boxes on the screen.
  • The player can use onscreen keyboard by clicking ith mouse or system keyboard to guess letters in the phrase.
  • The letter is disabled on the onscreen keyboard and a player can't select that letter again.
  • If the selected letter is not in the phrase, one of the player's hearts in the scoreboard is changed from a "live" heart to a "lost" heart.
  • The player keeps choosing letters until they reveal all the letters in the phrase, or they make five incorrect guesses.

How to Use:

  • Clone or download the repository to your computer
  • Open the project root folder and double click on index.html
  • Then the Guess_the_Phrase javascript game will appear on the default browser tab

Hosted in Git Hub Pages:

https://anilvarma-kav.github.io/Guess_the_Phrase/

Acknowledgement:

  1. TeamTreehouse [https://teamtreehouse.com/]

guess_the_phrase's People

Contributors

anilvarma-kav avatar

Stargazers

 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.