CPSC270
Software Engineering and Project Design

Activity 10

Web App Continued

Create a web app version of the game Lights Out. The app should:

  1. Initialze the grid of squares to be randomly lit.
  2. Toggle a sqaure and its four neighbors when clicked.
  3. Use a 2D list to represent the state of the grid and efficiently update the view.