Re:Writing Snake in 12 Lines of PyTorch
by blt on Friday August 12, 2022 @02:48AM
(#32435339)
It exists in theory, since Snake (like all computer games) is a finite MDP.
[ Parent
| on HN ]
Re:Writing Snake in 12 Lines of PyTorch
by eliasffyksen on Friday August 12, 2022 @03:48AM
(#32435645)
Yes, but not in the matrix state we are using to represent it. It would probaly need to be represented as a "one-hot" MDP encoding, takes away from some of the beauty of it.