To create a runnable jar, run mvn clean package In target folder, we will see jar with dependencies included, use that jar and run as java -jar jarname Game playing is self explanatory from CLI.