Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix balance not adding issue #110

Closed
wants to merge 1 commit into from
Closed

Conversation

yusefes
Copy link

@yusefes yusefes commented Oct 19, 2024

Fixes #108

Add template checking before painting pixels.

  • Add checkTemplate method to verify if a pixel is part of a template.
  • Modify autoPaintPixel method to use checkTemplate before painting and updating the balance.
  • Modify paintPixel method to use checkTemplate before painting and updating the balance.
  • Update print statements to handle cases where a pixel is not part of a template.

For more details, open the Copilot Workspace session.

Fixes #108

Add template checking before painting pixels.

* Add `checkTemplate` method to verify if a pixel is part of a template.
* Modify `autoPaintPixel` method to use `checkTemplate` before painting and updating the balance.
* Modify `paintPixel` method to use `checkTemplate` before painting and updating the balance.
* Update print statements to handle cases where a pixel is not part of a template.

---

For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/aDarkDev/NotPixel/issues/108?shareId=XXXX-XXXX-XXXX-XXXX).
@yusefes yusefes closed this by deleting the head repository Oct 31, 2024
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.

Balance not adding
1 participant