schrum2 / MM-NEAT

Modular Multiobjective (Hyper) Neuro-Evolution of Augmenting Topologies + MAP-Elites: Java code for evolving intelligent agents in Ms. Pac-Man, Tetris, and more, as well as code for Procedural Content Generation in Mario, Zelda, Minecraft, and more!
http://people.southwestern.edu/~schrum2/re/mm-neat.php
Other
50 stars 20 forks source link

Comment/Refactor MinecraftBlockRenderExperiment and MinecraftBlockEvaluateExperiment #861

Closed schrum2 closed 1 year ago

schrum2 commented 1 year ago

In MinecraftBlockRenderExperiment, provide better comments for generateOneShapeFromFile and make the method static. The shiftBlocks method should also be static and you should remove the private (don't make it public, just remove the private). Then give it a JavaDoc comment. Give body comments to the earlier code as well.

Then go to MinecraftBlockEvaluateExperiment. Remove generateOneShapeFromFile and shiftBlocks (you can call MinecraftBlockRenderExperiment.shiftBlocks when needed). Also, thoroughly comment the code. Fix any warnings by modifying the code (do not simply suppress them).

schrum2 commented 1 year ago

Do the commenting part of this first

TjRaffert commented 1 year ago

Finished commenting for MinecraftBlockRenderExperiment. Finished clean-up and code adjustments to MinecraftBlockEvaluateExperiment.