Chrispresso / SnakeAI

MIT License
246 stars 75 forks source link

Can't save #6

Closed guillebot closed 4 years ago

guillebot commented 4 years ago

Hi Chris, amazing piece of software here. Learning a lot.

I'm trying to save the snake, but whenever I insert the save_snake call, it saves one snake but something breakes and it stops working fine.

I would love to know what am I doing wrong :(

guillebot commented 4 years ago

some error by my side I guess, and added self.snake

` print('Save the best snake')

no me funciona. si llamo a esta funcion algo se rompe

            save_snake('/home/nvidia/pruebas/SnakeAI/snakes/', 'best_snake_gen'+str(self.current_generation), self.snake, self.settings)

`