Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/furkanbaran/hu-load-game
https://github.com/furkanbaran/hu-load-game
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/furkanbaran/hu-load-game
- Owner: FurkanBaran
- Created: 2024-06-02T19:14:11.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-07-10T17:10:55.000Z (6 months ago)
- Last Synced: 2024-07-10T20:48:26.315Z (6 months ago)
- Language: Java
- Size: 970 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# HU-Load Game
HU-Load Game is a JavaFX-based mining game developed as an assignment. The player controls a drill machine to collect valuable minerals while managing fuel, money, and avoiding obstacles like boulders and lava. The game implements realistic gravity and movement mechanics to provide an engaging gameplay experience.
## Table of Contents
- [Introduction](#introduction)
- [Features](#features)
- [Installation](#installation)
- [Usage](#usage)
- [Game Rules](#game-rules)
- [Class Diagram and Checklist](#class-diagram-and-checklist)
- [Screenshots](#screenshots)## Introduction
In HU-Load Game, you navigate a drill machine through different layers of the earth, collecting minerals and gems. You need to manage your fuel levels and avoid running into obstacles such as boulders and lava blocks. The game is designed with realistic gravity mechanics, adding to the challenge and fun.
## Features
- **JavaFX-based GUI**: A user-friendly graphical interface using JavaFX.
- **Realistic Gravity**: The drill machine is affected by gravity, requiring strategic movement.
- **Resource Management**: Manage fuel, storage capacity, and money.
- **Various Tile Types**: Different types of minerals, boulders, and lava with unique properties.
- **Keyboard Controls**: Control the drill machine using arrow keys.## Installation
1. **Clone the repository**:
```sh
git clone https://github.com/FurkanBaran/HU-Load-Game.git
```
2. **Navigate to the project directory**:```sh
cd HU-Load-Game
```3. Open the project in your preferred IDE (e.g., IntelliJ IDEA, Eclipse).
4. Ensure you have **Java 1.8 (412b)** set up in your IDE.
5. Ensure you have **JavaFX** set up in your IDE. You may need to configure your build path to include JavaFX libraries.## Usage
Run the Main class from your IDE.
Use the arrow keys to navigate the drill machine.
Collect valuable minerals and avoid obstacles to achieve the highest score.d## Game Rules
1. The drill machine can move left, right, and down using the arrow keys. It cannot drill upwards.
2. The machine consumes fuel over time and with movement.
3. Collect valuable minerals to increase your money and haul.
4. Avoid boulders and lava blocks; hitting lava results in game over.
5. The machine changes appearances depending on where it is facing.
6. Gravity affects the machine: if the block below is drilled, the machine falls one step down.
7. The game ends if the machine runs out of fuel or hits lava.## Class Diagram and Checklist
The UML class diagram and project checklist are available in the [UML_Diagram.pdf](UML_Diagram.pdf) file.## Screenshots
![Video_2024_07_10-1_edit_0-ezgif com-resize](https://github.com/FurkanBaran/HU-Load-Game/assets/21145014/576f1488-4f57-464e-9c43-ca60f94f280c)![Video_2024_07_10-2_edit_0-ezgif com-resize](https://github.com/FurkanBaran/HU-Load-Game/assets/21145014/a942482c-fa68-4c55-a7f9-a873650cf18e)