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

Puzzle Editor Major Changes #189

Merged
merged 76 commits into from
Jul 17, 2022
Merged

Puzzle Editor Major Changes #189

merged 76 commits into from
Jul 17, 2022

Conversation

charlestian23
Copy link
Collaborator

The introduction of a puzzle editor has massively changed how we structure a lot of Legup. While we are not done implementing a puzzle editor, we realized that future updates to Legup should take into account the new structure we implemented, as resolving merge conflicts with this new structure is incredibly painful.

charlestian23 and others added 30 commits June 9, 2022 11:07
Renamed class to keep naming consistent
added menu bars, mostly non-functional, but file>new opens up the file dialog
Puzzle editor draft of basic PuzzleEditorPanel
Saving some changes
Adjusted font
for the puzzle editor panel
Puzzle editor now has framework to add element buttons
Resized some buttons and moved batch grader button
running into some issues with swing
made more progress on Puzzle editor window
mattsweet417 and others added 18 commits July 1, 2022 14:49
New abstract method in Puzzle class meant to be used to check if a puzzle is a valid size
Renamed width and height variables to rows and columns for clarity purposes
Implemented general empty puzzle functionality and started with sudoku
Did this for clarity and to be consistent throughout the code. Note that I did not go through and change all the comments in all the importers.
Implemented isValidDimensions()
- Fixed null panel bug when opening apuzzle for the first time
- Fixed a bug where puzzle editor panel wouldn't clear properly after entering invalid dimensions
- Fixed the title not changing on the home screen after returning from the puzzle editor
Fixed some bad coding style
Changed the placeholder code to be throwing an exception instead of returning false
Requires the number of rows and columns to be greater than 1 for Sudoku
@charlestian23 charlestian23 added priority This issue should be focused on first puzzle editor Related to creating or editing puzzle files labels Jul 12, 2022
@mattsweet417
Copy link
Collaborator

All done, goto #193

Resolve puzzle-editor merge conflicts
@mattsweet417 mattsweet417 merged commit 654c27d into dev Jul 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority This issue should be focused on first puzzle editor Related to creating or editing puzzle files
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants