# Neural-network-snake **Repository Path**: bit2atom/Neural-network-snake ## Basic Information - **Project Name**: Neural-network-snake - **Description**: Java program that uses a genetic algorithm to train snakes: https://www.youtube.com/watch?v=BBLJFYr7zB8 - **Primary Language**: Java - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-08-29 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Neural-network-snake Java program that uses a genetic algorithm to train snakes: https://www.youtube.com/watch?v=BBLJFYr7zB8 I made this project a while ago, initially without intending to publish it someday. Therefore, the style I programmed it in is not the object-oriented style they teach you at school or university. Please don't be mad at me because of it. However, I tried documenting and refactoring it to make it more readable and understandable. Have fun trying it out and modifying it. I used a lot of canstants you can tweak easily. Controls: a: pause simulation b: resume simulation c: show stats d: hide stats space: watch best snake and its neural network