Project Details

Asteroids is a desktop game built with Java and JavaFX where players control a spaceship dodging and destroying incoming asteroids to earn points and reach the highest score.

Java JavaFX Maven JLink JPackage
Desktop Game
April 2025
Personal Project

Asteroids

Asteroids offers classic arcade-style gameplay, where the player pilots a spaceship to dodge and destroy asteroids while racking up points — all with smooth animations and no external dependencies required.

Asteroids is a desktop application built with Java and JavaFX that recreates the classic arcade game Asteroids. The game features smooth animations with responsive controls, and a self-contained macOS installer that allows users to download and run it like a native app.

Create a desktop game that delivers fast-paced, classic arcade-style gameplay, handles real-time animations and collisions, and runs as a standalone macOS application without requiring users to install Java or JavaFX.

I developed a desktop application using Java and JavaFX, structuring entities like spaceship, asteroids, and projectiles following object-oriented programming principles. I used JavaFX's AnimationTimer for real-time updates, rendering, and collision detection, and bundled the game as a self-contained macOS installer with JLink and JPackage for a seamless native experience.

Key Features

  • Classic arcade gameplay
  • Smooth animations
  • User-friendly interface
  • Object-oriented design
  • Native macOS installer
  • No external dependencies