An example that uses convolutions with LSTMs. In particular, the code learns to recognise whether a sequence of frames has black squares appearing to the left or to the right.
An example of a sequence predicted of going right:
The code has been adapted from Jason Brownlee's Machine Learning Mastery article.