Skip to content

1.0.6

Choose a tag to compare

@AlexanderGatesDev AlexanderGatesDev released this 04 Jan 20:04
· 5 commits to Master since this release
579f3d7

BiosimRust v1.0.6

New Features

Kin Protection for Kill Action

  • Added killkinprotection parameter (range 0.0-1.0) to reduce kill probability for genetically similar individuals
  • Uses exponential reduction formula: identical genomes have near-zero kill probability
  • Default value: 0.8 (strong protection)
  • Improves biological realism by reducing same-species killing

Challenge 3 (Neighbor Count) Improvements

  • Added buffer zone: individuals must be at least 2 cells from any edge to survive
  • Prevents edge huddling behavior and encourages clustering in arena interior
  • Improves challenge behavior and visual results

Configuration

New parameter in biosimrust.ini:

  • killkinprotection reduces the probability of killing genetically similar individuals.
    Range 0.0..1.0. Higher values = stronger protection against killing kin.
    • 0.0 = no protection (identical genomes can kill each other)
    • 1.0 = maximum protection (identical genomes never kill each other)
  • Formula: adjusted_kill_prob = base_kill_prob * (1.0 - genetic_similarity)^(1.0 / (killkinprotection + 0.1))
  • Recommended: 0.3 to 0.7 for biological realism. Default: 0.8
    killkinprotection = 0.8

Technical Details

  • Kin protection uses exponential reduction for stronger protection at high genetic similarity
  • Challenge 3 buffer zone enforces minimum distance from edges
  • Both changes improve biological realism and challenge behavior

Compatibility

  • Fully backward compatible
  • Existing config files work without changes (uses default killkinprotection = 0.8)
  • No breaking changes to APIs or file formats