Ajout generation grille, amélioration UI, commentaires

This commit is contained in:
2024-05-04 00:13:44 +02:00
parent f8e3c642b5
commit 8adb8b4547
8 changed files with 429 additions and 75 deletions

View File

@@ -1,5 +1,5 @@
# List of Java source files
SRCS := Cell.java Grid.java Sudoku.java SudokuButtonListener.java SudokuUI.java
SRCS := Cell.java GenerateGrid.java Grid.java Sudoku.java SudokuButtonListener.java SudokuSolver.java SudokuUI.java
# Directory to store compiled class files
BUILD_DIR := build
@@ -27,9 +27,4 @@ compile: $(addprefix $(BUILD_DIR)/, $(SRCS:.java=.class))
# Rule to compile Java source files
$(BUILD_DIR)/%.class: %.java | $(BUILD_DIR)
$(JAVAC) -d $(BUILD_DIR) $
# Clean up compiled class files
.PHONY: clean
clean:
rm -rf $(BUILD_DIR)
$(JAVAC) -d $(BUILD_DIR) $<