image showing gui for the game described

Rogue-like Game Built Using Java

Nov 5, 2021

Summary

The "Rogue Java Game" project is a Java-based game inspired by Rogue, developed using object-oriented principles. It supports custom room and item designs through a JSON file and includes features like saving and loading game states and changing player names. Development and testing were conducted on Java 11. JUnit was utilized to implement rigorous testing of the program. Unit tests were written to ensure the functionality of various components, such as player movement, inventory management, and item interactions. This approach helped maintain code quality and reliability throughout the development process.

Github Repo.

The "Rogue Java Game" project is a Java-based implementation of the classic game Rogue, designed using object-oriented principles. It allows for extensive customization, including room layouts and item properties, defined through a JSON configuration file. Rogue (video game) on Wikipedia

Key features of the game include the ability to save and load game states and modify player names, enhancing user experience and flexibility. The development was carried out on Java 11.

Testing with JUnit

A comprehensive test suite was developed using JUnit to verify the functionality of critical game components. These unit tests focused on player movement, inventory management, and item interactions, establishing a reliable and robust testing framework.

This rigorous testing approach was instrumental in maintaining high code quality and reliability, facilitating a smooth development process and yielding a stable and engaging game.