CPSC270
Software Engineering and Project Design

Activity 15

React App Continued

Reimplement the Lights Out game using React. This version of the web app should have same two components as the clickable grid:

  1. App - dynamically creates a 2-dimensional grid of cells
  2. Cell - toggle’s its and its neighbor’s background color on click

Except, the state will need to be lifted up out of the Cell component and into the App component. Feel free to use the HTML, CSS, and JavaScript code from the previous version of the app to facilitate creating the React version.