Skip to content

Stancalau-ro/pongfx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PongFX

An implementation of the classic arcade game Pong using JavaFX and Spring.

Prerequisites

  • Download Maven
  • Ensure JAVA_HOME environment variable is set
  • Ensure PATH environment variable contains MAVEN_HOME/bin
  • Run mvn clean install in the project root to build the entire project

Running the Game

  • In the root folder, enter the command mvn jfx:run

Please note that 'mvn clean install' might not work on Java 7. A workaround would be to add the following to your pom.xml :

#!xml

<dependency>
  <groupId>javafx</groupId>
  <artifactId>jfxrt</artifactId>
  <version>2.2</version>
  <scope>system</scope>
  <systemPath>C:\Program Files\Java\jre7\lib\jfxrt.jar</systemPath> <!-- Windows -->
  <!-- <systemPath>/usr/lib/jvm/java-7-oracle/jre/lib/jfxrt.jar</systemPath> on Linux -->
</dependency>

The recommended way to go would be just to use Java 8. If you are not sure about what version of Java your system is using, run:

java -version

or

javac -version

More information about this project can be found here: http://stancalau.ro/javafx-spring-pong-game/

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published