feat: fix responsive grid sizing, stars, and radar pulse#17
Open
apoorvaannaanoop wants to merge 5 commits into
Open
feat: fix responsive grid sizing, stars, and radar pulse#17apoorvaannaanoop wants to merge 5 commits into
apoorvaannaanoop wants to merge 5 commits into
Conversation
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. |
Owner
|
can you record a demo of your changes. Expectations from the demo
|
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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.