All Projects → TheAILearner → Training-Snake-Game-With-Genetic-Algorithm

TheAILearner / Training-Snake-Game-With-Genetic-Algorithm

Licence: MIT License
training snake game using neural network and genetic algorithm

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Training-Snake-Game-With-Genetic-Algorithm

Snake-Game-with-Deep-learning
Developing a neural network to play a snake game
Stars: ✭ 43 (+53.57%)
Mutual labels:  pygame, snake-game
snake-pygame
🐍 A snake game written in Python using the Pygame library
Stars: ✭ 42 (+50%)
Mutual labels:  pygame, snake-game
snake-neural-network
An experiment with neural network and genetic algorithms
Stars: ✭ 68 (+142.86%)
Mutual labels:  genetic-algorithm, snake-game
Python.io
Snake game inspired from Slither.io but features a python instead of a snake. Made in Python 3
Stars: ✭ 15 (-46.43%)
Mutual labels:  pygame, snake-game
carAI-Demo
使用浅层神经网络和遗传算法训练一个可以自动驾驶小车的Demo
Stars: ✭ 64 (+128.57%)
Mutual labels:  genetic-algorithm, pygame
tetris-ai
A Tetris AI written in JavaScript that uses a genetic algorithm
Stars: ✭ 22 (-21.43%)
Mutual labels:  genetic-algorithm
Chrome-Dino-Runner
🐱‍🐉 A Replica of the hidden Dinosaur Game from Chrome Browser Offline mode build using Python and PyGame.
Stars: ✭ 22 (-21.43%)
Mutual labels:  pygame
SnakeClassic
A snake engine written in SpriteKit for all Apple devices.
Stars: ✭ 56 (+100%)
Mutual labels:  snake-game
Job-Shop-Scheduling-Genetic-Algorithm
Job Shop Scheduling Solver using Genetic Algorithyms
Stars: ✭ 48 (+71.43%)
Mutual labels:  genetic-algorithm
recmap
Draw your own Rectangular Statistical Cartogram - CRAN package
Stars: ✭ 18 (-35.71%)
Mutual labels:  genetic-algorithm
async-genetic
A blazing fast parameters optimiser by genetic algorithm
Stars: ✭ 18 (-35.71%)
Mutual labels:  genetic-algorithm
sappho
2D Game Library
Stars: ✭ 15 (-46.43%)
Mutual labels:  pygame
orbital-sim
A simple physics engine build over a PyGame simulation to accurately model planetary orbits in space
Stars: ✭ 31 (+10.71%)
Mutual labels:  pygame
visgraph simulator
See how visibility graphs work in an interactive way using Pyvisgraph and Pygame
Stars: ✭ 28 (+0%)
Mutual labels:  pygame
pyskool
A remake of Skool Daze and Back to Skool in Python and Pygame.
Stars: ✭ 15 (-46.43%)
Mutual labels:  pygame
tiny gp
Tiny Genetic Programming in Python
Stars: ✭ 58 (+107.14%)
Mutual labels:  genetic-algorithm
ai-n-queens
Solving and GUI demonstration of traditional N-Queens Problem using Hill Climbing, Simulated Annealing, Local Beam Search, and Genetic Algorithm.
Stars: ✭ 30 (+7.14%)
Mutual labels:  genetic-algorithm
MyChess
中国象棋pygame
Stars: ✭ 30 (+7.14%)
Mutual labels:  pygame
pygame-text-input
a small module that enables you to input text with your keyboard using pygame
Stars: ✭ 114 (+307.14%)
Mutual labels:  pygame
shorelark
Simulation of life & evolution
Stars: ✭ 109 (+289.29%)
Mutual labels:  genetic-algorithm

Training-Snake-Game-Using-Genetic-Algorithm

main.py - to start training snake game using genetic algorithm

Snake_Game.py - contains logic of creating snake game using pygame

Run_Game.py - play snake game using predicted directions from genetic algorithm

Genetic_Algorithm.py - contains genetic algorithm functions like crossover, mutation etc

Feed_Forward_Neural_Network.py - contains the functions for calculating the output from feed forward neural network

To know more about algorithm used in this code you can follow this blog https://theailearner.com/2018/11/09/snake-game-with-genetic-algorithm/

License & Copyright

Copyright (c) 2019 kang & atul

Licensed under the MIT License.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].