/BallGame

Simple Ball Game written in Java.

Primary LanguageJavaMIT LicenseMIT

Ball Game

This is a simple game built using Java and JavaFX, in which user needs to keep the ball flying in the window by controlling a paddle with the arrow keys.

BallGame Demo

Features

  • Displays how score changes during the game
  • Allows to pause/continue the game
  • Allows to reset the game by nullifying score
  • Has 3 difficulty levels that affect number of balls and their moving speed
  • Allows to change background color

Setup

This application was built using Java SDK 16.0.1 and JavaFX SDK 16.

  1. Download and install Java SDK and JavaFX SDK and configure them in the IDE.
  2. Clone this repository and build the project.
  3. Run the game!