prabhu-sunderaraman / decoderjs

Implementing Decoder game using React and Redux

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Decoder

A browser-based game using ES6, React and Redux

Description

  • User has to guess the colors chosen by the application.

  • Application chooses five distinct colors from Red, Green, Blue, White, Black, Yellow, Pink, Orange, Cyan and Brown.

  • User enters her choice of colors

  • Program reports the user's result using colors.

  • Red indicates no match found

  • White means a match of color found

  • Black says positional match found

Sample IO

  • Assume the program has chosen the colors

  • Red, Blue, White, Brown, Pink

  • Here is a sequence of input from the user and the response.

Input Response
Cyan, Brown, Pink, Green, Yellow White, White, Red, Red, Red
Red, Brown, Pink, Blue, White Black, White, White, White, White
Red, Blue, Brown, Pink, White Black, Black, White, White, White
Red, Blue, White, Brown, Pink Black, Black, Black, Black, Black

3 levels

  • beginner level, where the generated colors are unique.

  • intermediate level, where just one color is replicated

  • advanced level where several colors can be replicated.

  • This project was bootstrapped with Create React App.

About

Implementing Decoder game using React and Redux


Languages

Language:JavaScript 90.0%Language:CSS 7.0%Language:HTML 3.0%