Giter Site home page Giter Site logo

vijayjangid / react-hangman Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 2.0 298 KB

Popular Hangman game for programmers

Home Page: https://hangmanfp.netlify.app/

License: MIT License

JavaScript 69.21% HTML 3.34% CSS 27.45%
context-api react-hooks reactjs-components react neuomorphic neuomorphism hangman hangman-game react-hangman

react-hangman's Introduction

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

react-hangman's People

Contributors

vijayjangid avatar

Stargazers

 avatar

Watchers

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