[Question] Neural networks for games

Recently, I’ve read tutorial about neural network in a snake game. (you can see it here—https://​​towardsdatascience.com/​​today-im-going-to-talk-about-a-small-practical-example-of-using-neural-networks-training-one-to-6b2cbd6efdb3) But, the way it train the neural network it bit funny—in practice, it depends on knowing what the snake should do in every step, and when he didn’t, train him. Not very useful(cause, you know, I could just program him to do that).

The other way, I guess, is to use log of the game, assume that the players doing the optimal steps (lets say, exept of the end of there game😉) and then train the network on this situations.

But, when I haven’t log of the game, is there a way I can use neural networks for a game? And if there is, how?

No comments.