Snake ladder game using native javascript and HTML5 canvas