Skip to content

feat: fix responsive grid sizing, stars, and radar pulse#17

Open
apoorvaannaanoop wants to merge 5 commits into
coder-zs-cse:mainfrom
apoorvaannaanoop:main
Open

feat: fix responsive grid sizing, stars, and radar pulse#17
apoorvaannaanoop wants to merge 5 commits into
coder-zs-cse:mainfrom
apoorvaannaanoop:main

Conversation

@apoorvaannaanoop

@apoorvaannaanoop apoorvaannaanoop commented May 19, 2026

Copy link
Copy Markdown

Updates
I have updated the game loop to fix the crashing issues and added several visual features to make the game look and feel much better.

###Added clear colors and animations to show players what is happening on the board:

a) Yellow Pulse Effect: When you ask for a hint, the neighbouring tiles blink yellow to show how close you are to a target.
b) Green Tiles: During the game, guessed tiles you click turn green. At the end of the game, any targets you missed will also show up as green.
c) Green Tiles with White Dots : At the end of the game, this shows correctly guessed cells
d) Red Tiles with an X: At the end of the game, this shows the tiles you guessed incorrectly.

Star Scoring Rules

The game now calculates your stars correctly based on how many targets you find. The rules change slightly based on the difficulty level you choose:

Easy Level (5 Targets Hidden)
3 Stars = Found all 5 targets
2 Stars = Found 4 targets
1 Star = Found 3 targets

Medium Level (6 Targets Hidden)
3 Stars= Found all 6 targets
2 Stars= Found 5 targets
1 Star = Found 4 targets

Hard Level (7 Targets Hidden)
3 Stars= Found all 7 targets
2 Stars = Found 6 targets
1 Star = Found 5 targets

.If you get atleast 1-star it displays you won. Getting anything less than the 1-star requirement results in 0 stars and a game over.

@vercel

vercel Bot commented May 19, 2026

Copy link
Copy Markdown
Contributor

@apoorvaannaanoop is attempting to deploy a commit to the coderzs' projects Team on Vercel.

A member of the Team first needs to authorize it.

@coder-zs-cse

Copy link
Copy Markdown
Owner

can you record a demo of your changes. Expectations from the demo

  1. Run the npm run build command
  2. Play the medium level model take few hints, guess a solution, take few more hints, guess the solution as finish the game

@coder-zs-cse

coder-zs-cse commented May 24, 2026

Copy link
Copy Markdown
Owner

are you still working on this issue? your code seems like you are changing a bunch of things. please make sure you changing only the radar pulse in the surrounding blocks during the guess loading state

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants