Skip to content

"Would You Rather" is a web application built with React and Redux that allows users to create and answer "Would You Rather" polls, where each poll presents two options and asks the user to choose one. The project was developed as part of the Udacity React Nanodegree program.

Notifications You must be signed in to change notification settings

Mahmoud-AbouDeghedy/Would-You-Rather

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Would You Rather? Project

===============================

  • This is a "Would You Rather?" game project built using React and Redux. In this game, users are asked to answer "Would You Rather?" questions, with each question consisting of two options.

  • Users can also create their own questions and see how other users have voted. Each user can only vote once per question, and the user's answers are tracked on a leaderboard.

  • This project was created as part of the Udacity React Nanodegree program.

Installation

To run this project, you'll need to install Node.js and npm on your computer. Once you've done that, you can follow these steps:

  1. Clone the repository to your computer
  2. Open your terminal and navigate to the project directory
  3. Run npm install to install the project dependencies
  4. Run npm start to start the development server
  5. Open your web browser and navigate to http://localhost:3000/ to view the app

Usage

  • When you first open the app, you'll see a login screen. You can select a user from the dropdown menu and click "Log In" to enter the app.

  • Once you're logged in, you'll see the Home page, which shows a list of questions that you can answer. You can select a question to see the two options, and choose the one you prefer. Once you've answered a question, it will be marked as "answered" on the Home page.

  • You can also create your own questions by clicking the "New Question" link in the navigation bar. On the New Question page, enter the two options and click "Submit" to create the question.

  • Finally, you can view the leaderboard by clicking the "Leaderboard" link in the navigation bar. The leaderboard shows the user's name, avatar, and total score (number of questions answered and created).

Contributing This project was created as part of the Udacity React Nanodegree program, and contributions are not currently accepted.

License This project is licensed under the MIT License. See the LICENSE file for more information.

About

"Would You Rather" is a web application built with React and Redux that allows users to create and answer "Would You Rather" polls, where each poll presents two options and asks the user to choose one. The project was developed as part of the Udacity React Nanodegree program.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published