Skip to content

Conversation

@Tyago-Teoi
Copy link
Collaborator

This pr focuses on the enemy generation process, refactoring its code for better readability.
It also makes code changes to increase and facilitate its use in a wide scope of games.

The changes are summarized as:

  • Refactoring of the script "EnemyGeneratorManager.cs" to handle only high level methods;
  • Addition of classes to handle SearchSpace configuration in the Unity Inspector;
  • Minor refactoring following Single Responsibility rules and class/variable name standards;
  • Use of Strategy design pattern for the genetic algorithm's Fitness class, as each game can have its specific evaluation function for calculate its fitness.

Tyago-Teoi and others added 30 commits June 24, 2025 21:31
Replace Type Code(algo.parameters) with Class in EnemyGenerator module
@Tyago-Teoi Tyago-Teoi merged commit 24e76a2 into Develop Sep 30, 2025
1 of 2 checks passed
@Tyago-Teoi Tyago-Teoi deleted the feature/refactor-enemy-generation branch September 30, 2025 22:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants