The project "2048" for 2024 Spring Java A course.
Use maven for requirement management, JavaFX to construct gui, Gson for data serialization.
Frame, game logic from @zaddle55; AI, user management from @SUSTechCJK2023
Points: 110/110
1. Download JavaFX SDK 21.0.2 and put it at your java-lib path.
2.Add Virtual Machine Options: --module-path
"C:\Program Files\Java\lib\javafx-sdk-21.0.2\lib"
--add-modules
javafx.controls,javafx.fxml
--add-modules
javafx.controls,javafx.media
--add-exports
javafx.graphics/com.sun.glass.utils=ALL-UNNAMED
--add-exports
javafx.graphics/com.sun.javafx.tk.quantum=ALL-UNNAMED
to run Main.java