https://medium.com/@harshalarjune13/from-pixels-to-play-the-algorithmic-magic-behind-games-9a4ff1a04c55