Bramvanheuvelen / hangman_homework

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

react icon redux icon js icon html icon css icon

The Hangman Game using React-redux:

Assigment made for Codaissuer

To run this project:

  • Clone the repo.
  • Run yarn to install dependencies.
  • Run yarn start.

Structure of the app:

  • The folder lib contains game logic.
  • In actions folder I imported the randomWord function of the logic and exported the 2 actions (NewGame and makeGuess).
  • Passed those actions to the reducers, one for the game and another for the guesses.
  • The components, hangman for the total game and letters for each guess.
  • One container for the componets (Board) which is passed to the App.js.

To Do:

  1. Fixing the problem when submiting a number or a letter twice.
  2. Adding some nice styling

About


Languages

Language:JavaScript 96.7%Language:HTML 1.8%Language:CSS 1.6%