2 comments

[ 2.6 ms ] story [ 17.8 ms ] thread
Some interesting remark in your previous post:

> On this project each enemy have a "brain", which is a never trained neural network. The training process comes from the genetic algorithm: at the end of each round the GA calculate the fitness score for each individual, the higher the fitness The more likely to reproduce. The fitness score is based on a lot of things: total of shots fired, number of times it hits the player, number of times it hurt itself... I also punish the one who doesn't do nothing and the ones who shoots it's allies, so they have less chance to reproduce next round. As a request, I'm giving the player 15% of their health back at the end of each round.

The old code was handwritten. Now you integrated some LLM code?

The code was hand written but now Claude has refactored it. You can see the changes in git history.