I thought that people might be interested in seeing what happens behind the scenes in the code, so created a few lines of code that logs information (value, generated location) of newly generated tiles. If you like it, I'd be happy to make further logs such as final score and biggest tile at game reset or when you lose. You added serialize functions to the game objects, so I just took advantage of those.
I thought that people might be interested in seeing what happens behind the scenes in the code, so created a few lines of code that logs information (value, generated location) of newly generated tiles. If you like it, I'd be happy to make further logs such as final score and biggest tile at game reset or when you lose. You added serialize functions to the game objects, so I just took advantage of those.