This is an implementation of the classic snake game in javascript.