CamGomezDev /
DeepGeneticSnake
Snake game implementation with an AI that uses neural networks and a genetic algorithm, in Processing/Java.
35/100 healthLoading repository data…
CamGomezDev / repository
Snake game implementation with AI that uses Dijkstra's algorithm, in Processing/Java.
A transparent discovery signal based on current public GitHub metadata.
This score does not audit code, security, maintainers, documentation quality, or suitability. Verify the repository and its current documentation before adoption.
This repository accompanies this video: https://www.youtube.com/watch?v=BCpKJrGHBJA
Specifically it's implementing this algorithm: https://github.com/chuyangliu/snake/blob/master/docs/algorithms.md#greedy-solver, the only difference being that in step 1, Dijkstra's algorithm was used to compute the shortest path. There the longest path algorithm is also explained.
The three main files with all of the logic are Controller.pde, SnakeDijkstraAI.pde and Snake.pde.
To run this project it is only necessary to have Processing installed, then clone or download this repository, open in Processing the folder where it's located and then just run it.

In the image it's being executed in VS Code, but it works equally well in Processing. I've commented it (in spanish) as well as I could. It's a bit disorganized however because I just wanted to finish it fast.
Selected from shared topics, language and repository description—not editorial ratings.
CamGomezDev /
Snake game implementation with an AI that uses neural networks and a genetic algorithm, in Processing/Java.
35/100 healthpatapizza /
Goose game (also called 'Snakes and Ladders') implementation using Markov decision processes
43/100 healthdavidmerrick /
Snake game implemented in Processing
27/100 healthakerfel /
An implementation of the classic game Snake in Java/Processing, with a primitive AI.
27/100 healthThomasCloarec /
An implementation of dynamic programming with MDP (Markov Decision Process) applied to the game of snake.
27/100 healthknightstark7 /
The Hunting Snake Game project, created for the Programming Techniques course, implements a classic snake game with features like collision handling, saving/loading game states, maintaining constant snake length, processing gates, and providing animations and a main menu and other interesting features.
27/100 health