Skip to content

vijayjangid/react-hangman

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hangman-game Hangman (for programmers)

Using ReactJS (hooks and context api), CSS3, SVG and neumorphic design

Screenshot 2021-05-11 at 9 39 47 AM

Screenshot 2021-05-11 at 9 39 32 AM

originally forked from vetrivelcsamy's repo Logo made by smalllikeart

Features

  • Dark/Light mode

  • Two Words source

    • Programming Language
    • Database
  • Keyboard support

  • Neumorphic design (experimental)

  • SVG manipulation for Hangman graphic

Folder structure

src
├── App.js
├── components
│   ├── footer
│   │   ├── index.js
│   │   └── style.css
│   ├── guessword
│   │   ├── index.js
│   │   └── style.css
│   ├── header
│   │   ├── index.js
│   │   └── style.css
│   ├── index.js        <--- exports all the components from here
│   ├── keyboard
│   │   ├── index.js
│   │   └── style.css
│   ├── keyboard-button
│   │   ├── index.js
│   │   └── style.css
│   ├── result
│   │   ├── index.js
│   │   └── style.css
│   ├── stage
│   │   ├── index.js
│   │   └── style.css
│   └── theme-toggle
│       ├── index.js
│       └── style.css
├── constants
│   └── index.js
├── containers
│   ├── hangman.js     <--- main container that use context and also hosts other components
│   └── style.css
├── hooks
│   ├── index.js
│   ├── use-theme-hook.js       <--- react hook for exposing theme (dark mode) context
│   └── use-word-source-hook.js <--- react hook for exposing word source & guess word context
├── index.css
├── index.js
└── state
    ├── theme-context.js        <--- Theme context (to manage dark mode)
    └── wordsource-context.js.  <--- Wordsource & guessword

Dependencies

If you'd like to contribute, help me close issues.

Initial Set Up

  1. Clone the repository
  2. npm install
  3. npm start app start on localhost

Releases

No releases published

Packages

 
 
 

Contributors