/Psychic-Game

HW#3

Primary LanguageJavaScript

Psychic-Game

HW#3

The Psychic Game A simple JavaScript game that allows you to guess the letter the computer chooses.

Choose a letter from A - Z and test your psycic ability to see if you can read a computers mind!

JavaScript Assignment

Overview

In this assignment, I created a psychic computer game. The app runs in the browser, and feature dynamically updated HTML and CSS powered by your JavaScript code.

  1. Watch the demo.

  2. The app randomly picks a letter, and the user has to guess which letter the app chose. Put the following text on your page:

  3. Guess what letter I'm thinking of

  4. Wins: (# of times the user has guessed the letter correctly)

  5. Losses: (# of times the user has failed to guess the letter correctly after exhausting all guesses)

  6. Guesses Left: (# of guesses left. This will update)

  7. Your Guesses So Far: (the specific letters that the user typed. Display these until the user either wins or loses)

  8. When the player wins, increase the Wins counter and start the game over again (without refreshing the page)

  9. When the player loses, increase the Losses counter and restart the game without a page refresh (just like when the user wins)

Deployed Site

https://plipandfirt.github.io/Psychic-Game/