/GDJ102

GDJ / gdj102 / Adding some Game loop pattern and user interaction

Primary LanguageJavaMIT LicenseMIT

GDJ102

TravisCI Dependency Status

Game Developement Java Basics 102

This project is part of the GDJ102 course from GameDev Basics Java provided by the SnapGames site.

Goal

The purpose of this sample is to propose the Game loop() and a first implementation of an InputHandler() to manager key input.

Here are the 3 main classes:

  • Game to manage the game,
  • Window to display the game,
  • InputHandler to manage input.

Compile

To compile the full project, please execute the followin' command :

$> mvn clean install

Execute

to execute the the compiled jar, please execute the command bellow :

$> mvn exec:java

or :

$> java -jar gdj102-0.0.1-SNAPSHOT.jar

Edit

Import this project as an Existing Maven Project into your prefered IDE, (like Eclipse ?)

Have Fun !

Frédéric Delorme