Watch creatures evolve after generations!
Creatures:
- Have 1 layer neural network brains (16 neurons total)
- Have 13 segment vision segments
- Comunicate using scent
- Rare mutations
- Only the fitest survive
- (Deafult neuron ammount is 64, you can set it to whatever you want the neurons to be, lower for worse devices, delete newest.json before updating) Gameplay:
- Only right click to make food right now
Other:
- A lot of settings
- Saves best neural network to newest.json each generation
- Saves generation logs to simulation_log.json
Setting example:
SCREEN_WIDTH, SCREEN_HEIGHT = 1000, 650 # Window size
CREATURE_COUNT = 30
CREATURE_LIMIT = 100
FOOD_COUNT = 300
REPRODUCE_ENERGY = 170 # Minimal energy needed for 2 random creatures to reproduce
START_ENERGY = 140 # Energy the creature starts with
SCENT_GRID_SIZE = 20
SCENT_DECAY = 0.95
SCENT_STRENGTH = 17.0
VISION_SEGMENTS = 36
VISION_RANGE = 200
GENERATION_STEPS = 1000 # cycles per generation
SCENT_SPREAD_RADIUS = 6
SCENT_FALLOFF = 1.5
SHOW_SCENT = True
LAYER_NEURONS = 64 # number of neurons for the hidden layer, before changing delete the old model!
MODEL_SAVE_PATH = "newest"