Implementation of the Solitaire card game with JavaFX
Demonstration application used in the book Introduction to Software Design with Java.
This repository is configured to build automatically in Eclipse with Java 17 or above.
However, when first imported, the project will show a compilation error because the JavaFX dependency is missing.
To add JavaFX:
- Download JavaFX;
- Create a new
User Library
underEclipse -> Window -> Preferences -> Java -> Build Path -> User Libraries -> New
. Name itJavaFX
and include the jars under thelib
folder from the location where you extracted the JavaFX download.
The project should then build properly.
Right-click on the project and select Run As -> Java Application
. Select Solitaire
from the list. To run the tests, select Run As - > JUnit Test
.