introduce bitloops
This commit is contained in:
@@ -163,17 +163,8 @@ public record Export() {
|
||||
|
||||
public record PuzzleResult(SwedishGenerator swe, Dict dict, Gridded mask, FillResult filled) {
|
||||
|
||||
boolean inBounds(int idx) { return idx >= 0 && idx < SwedishGenerator.SIZE; }
|
||||
Placed extractPlacedFromSlot(Slot s, long lemma) {
|
||||
|
||||
var cells = s.walk().toArray();
|
||||
|
||||
return new Placed(
|
||||
lemma,
|
||||
s.key(),
|
||||
cells
|
||||
);
|
||||
}
|
||||
boolean inBounds(int idx) { return idx >= 0 && idx < SwedishGenerator.SIZE; }
|
||||
Placed extractPlacedFromSlot(Slot s, long lemma) { return new Placed(lemma, s.key(), s.walk().toArray()); }
|
||||
public ExportedPuzzle exportFormatFromFilled(int difficulty, Rewards rewards) {
|
||||
var g = filled().grid();
|
||||
var placed = new ArrayList<Placed>();
|
||||
|
||||
Reference in New Issue
Block a user