Skip to content

Latest commit

 

History

History
46 lines (31 loc) · 1.33 KB

README.md

File metadata and controls

46 lines (31 loc) · 1.33 KB

Netlify Status

Hangman Game

A nostalgic Hangman game, made by James, Ryan and Dylan

hangman

Project Setup

To run locally, clone this repo and run npm i to install packages.

  • npm start to run locally

Goals

Use React to build an interactive game that uses data from an API.

Core Project Goals:

  • Query a movie API for movie names
  • Populate the UI with API data
  • Have some form of persistent state and interactivity

Our Goals:

  • Hangman game!
  • Render a hangman word with underscores
  • Guess a letter and if right amend word
  • Create counter to track guesses
  • Create counter to track guesses
  • Connect counter to incorrect guesses
  • CSS
  • Responsive
  • Use create-react-app

Problems

  • Connecting counter to only trigger on incorrect guesses
  • Uplifting react state
  • Showing correctly guessed letters (thanks to Sophia)
  • CSS wizardry

Cool stuff we learned

  • React and react state
  • Using repl-it for difficult algorithms to more easily write and run individual functions.