The classic snake game, written in modular, object-oriented, pure JavaScript