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

Star battle #808

Merged
merged 87 commits into from
Apr 16, 2024
Merged

Star battle #808

merged 87 commits into from
Apr 16, 2024

Conversation

summerhenson
Copy link
Collaborator

Description

Implemented the game Star Battle. Currently in a partially-functioning state.

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • [ x ] New feature (non-breaking change which adds functionality)
  • Enhancement (improvement to an already existing feature)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

How Has This Been Tested?

It hasn't really.

Checklist:

  • [ x ] I have performed a self-review of my code
  • I have commented my code, particularly in hard-to-understand areas
  • [ x ] I have made corresponding changes to the documentation (if applicable)
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes

EmilioBejasa and others added 30 commits February 2, 2024 17:23
File represents all files we will put and use to fully implement the StarBattle puzzle later.
ID probably needs to be changed in the future, and more assets on the way.
Also fixed the descriptions of the black and star tile, not sure if we need another asset.
Created StarBattleCellType.java file
Fixed StarBattleCellType typos
Also changed the IDs for our assets
Only Board needs to be added to get the basic puzzle running.
All StarBattle boards should be square, so I deleted the width height constructor. I also added size for returning a row, col, for future rules.
Fixed some temporary documentation to reference star battle instead of sudoku.
Created skeletons of classes for direct rules.
Might have to separate the too few and too many rules into 3 files, for row, column, and region.
Hopefully we can upload puzzles now that regions are done.
Created skeleton of class for Star or Empty case rule.
Wrote an implementation for checkRuleRawAt for Surround Star Direct Rule.
summerhenson and others added 29 commits March 22, 2024 17:17
Showed how to run in allfiles
Changed puzzles to be more standardized with each other
Fixed the right click issue.
It was unnecessary, we were switching between unknown star and blank anyways.
@Chase-Grajeda Chase-Grajeda merged commit 4e64baf into dev Apr 16, 2024
0 of 2 checks passed
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.

4 participants