Volatile
This turn-based RPG combat system was developed combing strategic decision-making with dynamic combat mechanics. It showcases object-oriented design and modular programming concepts to create an interactive RPG combat experience.
Created in Visual studio using C#
Project Overview
The project is a turn-based RPG combat system where players choose between distinct character classes, each with unique stats and abilities, and engage in strategic battles against AI-controlled enemies. The gameplay loop incorporates attack mechanics, probability-based outcomes, and dynamic enemy behaviour, creating a system that rewards tactical decision-making and offers replayable, engaging combat scenarios.
Probability-based combat
The ProbabilityHitCalculation class, which governs the chance-based outcomes of all attacks. This code calculates hit probabilities, critical strikes, and misses, factoring in both player and enemy stats as well as modifiers from distance and abilities. It highlights the system’s ability to handle randomness in a controlled, strategic way, forming the backbone of the combat experience while keeping encounters engaging and unpredictable.
Dynamic Distance Mechanic
The DistanceCalc class introduces a spatial layer to combat, dynamically tracking the distance between the player and enemy and influencing attack outcomes. By incorporating distance into probability calculations, this code encourages strategic positioning and thoughtful decision-making, elevating the depth of gameplay. It demonstrates modular design and an ability to integrate additional mechanics that interact seamlessly with the combat system, showcasing thoughtful problem-solving at a level appropriate for a portfolio highlight.