The main scene of the game with a basketball, launch arc, and hoop.
Back to Projects

Basketball Arcade Game

March 2025 - April 2025

Tags

    JavaProcessingGame

About

A simple basketball arcade game created in Java using Processing. The game was made as part of a class project to build a game with limited tools. The objective of the game is to make as many baskets as possible in 30 seconds. The player can shoot the basketball by clicking and dragging the mouse. While dragging, an arc is shown, displaying the trajectory of the ball. The player's score is saved to a text file, allowing the player to view where they rank on the leaderboard. Because Processing is a graphics library, many of the game features, such as the physics, timer, leaderboard, and scene management system, were created from scratch. Building the game required heavy use of object-oriented programming principles, such as encapsulation and inheritance. The game was made in a team of 3 people, with each person responsible for different parts of the game. I was responsible for the main scene physics and the scene management system.

Images

The main scene of the game with a basketball, launch arc, and hoop.The title screen of the game.The main scene of the game showing the basketball being launched.The instructions screen for the game.