I have created a Javafx pong game. I am not allowed to use javaswing. I need to

I have created a Javafx pong game. I am not allowed to use javaswing. I need to add a menu or some element to ensure the user is able to start another game should they desire to do so. I will attach my current code below.
I am using maven to compile and run my code:
mvn exec:java -Dprism.order=sw -Dexec.mainClass=”cs1302.pong.PongDriver”

Leave a comment

Your email address will not be published. Required fields are marked *