This project allows you to Generate, Save, Load and Solve some Sudoku Grids.
In this package, as the name says it, you will find the java classes working as controller of the JavaFX views (.fxml). There is not much more to say about this package.
This package is where the objects and their managers are located.
The Class names are quite self-explanatory in my opinion, except for the ChallengeManager and the PlayerManager.
Their purpose is to handle a list of challenges/players and allow you to manipulate them more easily.
For example in the PlayerManager :
//... Other lines of code ...//
public static Player get (String name) {...}
public static Player getFirst () {...}
public static Player getPrevious (Player player) {...}
public static Player getNext (Player player) {...}
public static Player getRandom () {...}
//... Other lines of code ...//
This class starts the JavaFX Application and calls the first GUI (ChallengeTypesView). It also creates the Players (for now, it will change in the next update).
This class creates all the challenges and adds them to the ChallengeManager if they match the list of selected challenge types.
Note : this class will be removed in the next update.
This class is composed only of public static fields.
The goal is to centralise most variables, to be able to change them only from here. It reduces typo mistakes and allows quick modifiaction (view size, view path, etc).
Please check the TODO.md file in this repository to find out what updates are planned.
Only 3 libraries are used for this Maven QuickStart project
- Java8 : JDK 1.8.111
- Maven : JUnit 4.12
- Maven : hamcrest-core:1.3
Note : those libraries are already included in : org.jetbrains.idea.maven.model.MavenArchetype@88f75e0f