A web app that lets a user play the “Would You Rather?” game. The game goes like this:
A user is asked a question in the form: “Would you rather [option A] or [option B] ?”. Answering "neither" or "both" is against the rules.
In the app, users are able to answer questions, see which questions they haven’t answered, see how other people have voted, post questions, and see the ranking of users on the leaderboard. A login feature is available, the users are able to login by selecting one of the available accounts.
Install yarn:
- macOS :
brew install yarn
- Linux :
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
sudo apt-get update && sudo apt-get install yarn
- Windows : Installation page
cd WouldYouRather
yarn install
yarn start
All the features of the game are implemented on the front end with React and Redux. The app is not communicating with an API, therefore the changes are not persistent on refresh, they appear during the user session only.
The focus of this project is on writing functional React and Redux code, not on making the page beautiful. The goal for this project is correct functionality.
This project was bootstrapped with Create React App
MIT