Üsküdar / İstanbul
utkuarslan07@gmail.com
SnakeAI – Pytorch / Genetic Algorithm

  • Casual snake game fot AI !
  • AI, created with Pytorch model.
  • Snake AI can sens border of the map and direction of food.
  • Snake AI can decide to turn left, stay(forward) or right.
  • Snake AI also sens the size of the tail and etc.
  • Therefore snake AI has 15 input and 3 output.
  • Snake AI gains score for every game.
  • High-scoring AI qualifies to pass its genes on to the next generation.
  • For visualize, TkInter library prefered.
  • Game can start without visualizing, this feature let game to calculate AI score more fast.
Game has not finished yet! Still working on Genetic Algorithm and its crossover function!

For more, visit Github.