Training a snake with a genetic algorithm

Margo
Employer

[no-member:pro]Margo[/no-member:pro]

1 projects
Project parameters
Type of cooperationOne-time project
Prepaymentprepayment is possible
Payment methodsBank transfer
Acceptance of requestsfrom until Apr 4, 2024
Project description
Offering remote work. You need to write a snake training from the game of the same name using a genetic algorithm.
1. Field 20 over 20.
2. There is food on the field, always alone at one moment.
3. The snake moves on one cage and can turn left or right at any time.
4. If the snake eats the food, it gets a +1 rating point and becomes 1 longer on the tail side. After eating, the food appears in a random place (but not on the snake itself).
5. Snake loses if it goes over the edge of the screen or bites its tail
6. The snake can see the entire screen, you can choose what parameters to submit to the snake at the entrance and what function it chooses, what to do next step.
7. There are three options: continue moving straight, turn left, turn right.
Project author: [no-member:pro]Margo[/no-member:pro]