Skip to content

Latest commit

 

History

History
65 lines (33 loc) · 3.04 KB

homework_instructions.md

File metadata and controls

65 lines (33 loc) · 3.04 KB

Clicky Game

Overview

For this assignment, you'll create a memory game with React. This assignment will require you to break up your application's UI into components, manage component state, and respond to user events.

Submission on BCS

  • This assignment must be deployed. * Please submit both the deployed GitHub Pages link to your homework AND the link to the Github Repository!

Instructions

  1. Check out the example solution and study the app's basic functionality.

  2. Create a new React application using Create React App.

  3. The application should render different images (of your choice) to the screen. Each image should listen for click events.

  4. The application should keep track of the user's score. The user's score should be incremented when clicking an image for the first time. The user's score should be reset to 0 if they click the same image more than once.

  5. Every time an image is clicked, the images rendered to the page should shuffle themselves in a random order.

  6. Once the user's score is reset after an incorrect guess, the game should restart.

  7. When complete, the application should be deployed to Github Pages. See the README generated with Create React App for instructions on deploying the application to Github Pages.


Minimum Requirements

  • This assignment must be deployed. Attempt to complete homework assignment as described in instructions. If unable to complete certain portions, please pseudocode these portions to describe what remains to be completed. Hosting on Github Pages and adding a README.md are required for this homework. In addition, add this homework to your portfolio. More information can be found below.

Hints

  • Begin by building a non-functioning static version for your Clicky Game. Then work on making the game interactive.

Reminder: Submission on BCS

  • Please submit both the deployed GitHub Pages link to your homework AND the link to the Github Repository!

Create a README.md

Add a README.md to your repository describing the project. Here are some resources for creating your README.md. Here are some resources to help you along the way:


Add To Your Portfolio

After completing the homework please add the piece to your portfolio. Make sure to add a link to your updated portfolio in the comments section of your homework so the TAs can easily ensure you completed this step when they are grading the assignment. To receive an 'A' on any assignment, you must link to it from your portfolio.


One More Thing

If you have any questions about this project or the material we have covered, please post them in the community channels in slack so that your fellow developers can help you! If you're still having trouble, you can come to office hours for assistance from your instructor and TAs.

Good Luck!