Frontendx
README.md
SOLUTION.md
main.tsxentry
App.tsx
App.css
index.html
vite.config.ts
Installed
react@^19.2.0
react-dom@^19.2.0

Memory Pattern Game (N x N)

harduigamestateHarnessUI Component

Description

Create a configurable N by N memory pattern game. Starting the game plays a sequence by highlighting cells one at a time. The player repeats it in order. Correct repeats advance the level, while a wrong click ends the game and offers restart.

Example 1:

Start => a cell highlights. Repeat it correctly => level increases and another cell is added.

Constraints

  • Render a default 3 by 3 grid.
  • Do not accept player input during playback.
  • Show level and an accessible status message.
Store the sequence as cell indexes.
Test Results

Memory Pattern Game (N x N)

A Simon-style sequence memory game on an N by N grid.