Self development, Study project
2026 February - 2026 June

Java & C++ Turn-base Animals Simulation

Simulation - University Project Java| Swing| C++| CLI| GUI

Turn-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

  1. Paradigm comparison (Java vs C++)
  2. Inheritance hierarchy & organism models
  3. Combat mechanics (Aggressive/Defensive/Passive)
  4. Human player with special ability
  5. Swing GUI & CLI logging systems

Technologies & Concepts

Paradigm Analysis| Java OOP| C++ OOP| Java Swing| Turn-based Engine

Back to home
Private repository (University laboratory)