Open
Conversation
* new chechbox to toggle demolish mode * new label for checkbox
* added query selector for checkbox element * implemented a method to display the snackbar toast * implemented method to handle click on checkbox element * fix: fixed an error while checking if tower damage is over 0
* added isDemolishMode boolean * implemented toggle method to handle click on UI elements * implemented delete logic in controls onclick listener
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Author
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.

Hello there 👋
I really enjoyed your Tower-Defence game, but sometimes I miss clicked when placing towers on the grid.
I am currently training to get more used to read and understand codebases from other developers and to add features or fix bugs.
So I thought I'll implement a demolish feature to destroy misplaced towers.
following changes were made:
Check out this little clip which presents the feature
Inert.-.Minimalistic.tower.defense.in.the.browser.-.Google.Chrome.2024-05-18.11-39-17.mp4
Hopefully this feature is appreciated :)