Skip to content

vijayjangid/bulls-n-cows

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bull Bulls n Cows cow

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

dark

light

originally forked from vetrivelcsamy's repo Logo made by freepik/flaticon

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

About

Bulls n Cows game. See demo here

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published