Code Monkey home page Code Monkey logo

phrase-hunter's Introduction

In this project I created a word "Phrase Hunter" game kind of like a digital hangman. The instructions consisted of using Javascript and OOP to select a random hidden phrase where the player playing the game tries to guess the phrase, while maintaining their lives. Everytime the player guesses a letter, the program compares the letter the player has chosen with the random phrase. If the letter is in the phrase, the gameboard displays the chosen letters on the screen. You continue to select letters until they guess the phrase (and win), or make five incorrect guesses (and lose).The player can guess a letter only once. After they’ve guessed a letter, the programming will disable that letter on the onscreen keyboard. 04image

Sources used for this project: MDN W3 Study Guide, and Videos from unit 4

Extra Credit:

I added keyboard functionality which lets the players use their physical computer keyboard to enter guesses.

I made the project my own by experimenting with the backgrounds, adding an image in the css file, and changing the background of the colors in the keyboard.

phrase-hunter's People

Contributors

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