A simple snake game using HTML5 canvas