Java & C++ Turn-base Animals Simulation
Simulation - University Project Java| Swing| C++| CLI| GUITurn-based 2D animal ecosystem simulation designed with the primary goal of comparing object-oriented paradigms between Java and C++. Features variable-sized grid boards, diverse organism interactions, and dual interface implementations.
Paradigm Analysis & System Design
The core objective of the project was a direct comparative analysis of software design paradigms across two distinct ecosystems (Java vs C++). The simulation models a variable-sized world populated by plants, aggressive, defensive, and passive animal species, alongside a human player with active special abilities.
Key Implementation Aspects
- Paradigm Comparison: Contrastive evaluation of object-oriented mechanisms, memory management, and polymorphism between Java and C++ implementations.
- Inheritance & Organism Hierarchy: Structured class hierarchies defining unique traits, movement patterns, and interactions for plants, animals, and the human character.
- Behavioral Mechanics: Implementation of aggressive, defensive, and passive entity behaviors governing combat resolution and ecosystem evolution per turn.
- Dual Interface Support: Full C++ CLI solution alongside a Java implementation featuring both Swing GUI and CLI log output tracking.
Simulation Components
- Paradigm comparison (Java vs C++)
- Inheritance hierarchy & organism models
- Combat mechanics (Aggressive/Defensive/Passive)
- Human player with special ability
- Swing GUI & CLI logging systems
Technologies & Concepts
Paradigm Analysis| Java OOP| C++ OOP| Java Swing| Turn-based Engine