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

New techniques merge #63

Merged
merged 4 commits into from
Oct 15, 2019
Merged

New techniques merge #63

merged 4 commits into from
Oct 15, 2019

Conversation

SudokuMonster
Copy link
Owner

The clunky 2 strong links and 3 strong links techniques are now added to master. They will require an overhaul to improve performance as discussed partly in #60

@SudokuMonster SudokuMonster merged commit 51a83f8 into master Oct 15, 2019
public boolean canSeeCell(Cell other) {
return Grid.visibleCellsSet[index].contains(other);
}

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

canSeeCell() unless in blind mode?
Isn't seesCell() more descriptive?

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It was supposed to be a yes or no question ... May something was lost there

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

BTW, seesCell() works too!!

@Override
public String getnotMaxTechnique3() {
return "";
}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no, it isn't messy ;)

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is all my doing. I can't blame anybody else :) ... The idea is to have more control on what to generate
Command line should be easier to control. GUI currently has Drop down menu with a general theme of generated puzzle. More can be done if there were drop menus / input field for each sub category (rating, technique to include , …)

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My solution would be TABLE with one row per (sub-)technique and many columns - rating, rating rules, names, short/long names, html description template, java class and constuctor parameters, etc, etc. even including nested tables if needed.
Then you should program GUI just what column to display.

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I uploaded a generateDiff.ods file which I can use to create the JTABLE or TABLE when I have time

@dobrichev
Copy link
Collaborator

Good job @SudokuMonster !
Maybe after such major update it is better to do series of small fixes before making the release.

@SudokuMonster
Copy link
Owner Author

SudokuMonster commented Oct 16, 2019

I don't think releasing an imperfect version is a bad thing especially when I haven't announced it. The clunky techniques can be disabled from the command line. When we have a better improved version I'll release another improved one. The time frame of improving what we have now is unknown, so I thought to get a release out of the way 1st

@dobrichev
Copy link
Collaborator

I finished with my queued changes and committed them to master.

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.

2 participants