Skip to content

iconstantinescu/air-hockey

Repository files navigation

How to setup and run the Game:

Note: It is advised to have your laptop plugged-in to a power source before running the game, because on some Machines/Operating Systems the IDE won't be supplied with the necessary Processing Power and might result in laggy results.

  1. Clone the Repository
  2. Make sure to download and install Java 11 (https://www.oracle.com/technetwork/java/javase/downloads/jdk11-downloads-5066655.html)
  3. Open the project in your favourite IDE (Intellij if possible since it was developed in this IDE) by Going to File > Open.. and selecting the build.gradle file
  4. Set Java 11 as your Java version in File > Project Structure.. > Project
  5. The game can be started by running the main of the Game class
  6. To login use nickname: test and password: test

How to use the provided tools

  1. In Intellij go to the Gradle menu on top-right and double click the "check" button (from the "verification" drop-down) in order to run Jacoco, Spotbugs, PMD, Checkstyle and the tests.
  2. If you want to check the code coverage double click on the "JacocoTestReport" button (from the "verification" drop-down).

Sources and references

Background sound: https://freesound.org/people/djgriffin/sounds/172561/

Hit sound: https://freesound.org/people/LG/sounds/30232/

Goal sound: https://freesound.org/people/santino_c/sounds/170825/

LibGdx tutorial: https://www.gamefromscratch.com/page/LibGDX-Tutorial-series.aspx

Background Login image: https://ccsearch.creativecommons.org/photos/f235954e-76e5-4a8f-bc8b-2823aa91ea6e

Background Board image: https://www.pngwave.com/png-clip-art-ngsiw

LibGdx Library Documentation: https://libgdx.badlogicgames.com/documentation/

LibGdx Menu Skin: https://github.com/libgdx/libgdx/wiki/Skin

About

A 2D Air Hockey game in Java

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages